Readme notes on icons
This commit is contained in:
parent
41259685b0
commit
e2799f8458
@ -79,3 +79,10 @@ following to `~/.vim/filetype.vim` for syntax highlighting:
|
||||
|
||||
:au BufRead *.html.to set filetype=mustache
|
||||
|
||||
|
||||
## Icons
|
||||
To render an icon use `{% module Icon('name') %}` in a template, where `name` is the filename of an svg file in `static/icons`.
|
||||
|
||||
All icons used should be from the Noun Project, specifically [this collection](https://thenounproject.com/monstercritic/collection/tinicons-a-set-of-tiny-icons-perfect-for-ui-elemen/) if possible.
|
||||
|
||||
SVG markup should be cleaned an minified, [Svgsus](http://www.svgs.us/) works well.
|
||||
|
Loading…
x
Reference in New Issue
Block a user