pacem-less
v0.60.2
Published
Pacem JS theme generator. LESS-based.
Downloads
2,081
Readme
Pacem LESS
Pacem JS theme templating, it uses LESS to obtain css files.
Install
$ npm i pacem-lessUsage
Pick the files /pacem/theme-empty.less and /pacem/fonts-empty.less in the node sub-folder and copy it locally (e.g. as my-theme.less and my-fonts.less), then play around with variables.
Once ready, launch:
lessc --modify-var="fonts=[path]/my-fonts" --modify-var="theme=[path]/my-theme" node_modules/pacem-less/pacem/pacem.less dist/css/my-theme.cssWhere [path] is the relative path from node_modules/pacem-less/pacem/pacem.less to
reach my-theme.less and my-fonts.less.
