Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 590 Bytes

icons.md

File metadata and controls

24 lines (16 loc) · 590 Bytes

Icons

A working folder: ./src/icons/

Any *.svg files that will be placed in the working folder will be copied into the snippets.

For example, in the working folder there is an icon icon-close.svg, when working with a theme, this file will be placed in snippets ./dist/snippets called icon-close.liquid, for further including in the theme.

{% include 'icon-close' %}

####OR

{% render 'icon-close' %}

If you used the command yarn download, then all such snippets icon-*.liquid will be removed and placed in the working folder as svg icons.