See styleguide: https://f-o-a-m.github.io/foam.css/
npm start
start webserver serving/catalog
, also watches for changes made in/catalog
npm run css
compile/styles/*.sass
into/catalog/static/dist
npm run watch
watches for changes made in/styles
and compiles changed styles into/catalog/static/dist
npm run build
builds the styleguide into/catalog/build
/catalog/static/fonts
is a symbolic link to/fonts
/catalog/static/assets
is a symbolic link to/assets
When adding new icon make sure they are cleaned up.
./cleanup-icons.sh assets/icons/my_icon.svg
Note: the script depends on Inkscape and svgo
(npm i -g [email protected]
).