diff options
author | codecalm <codecalm@gmail.com> | 2022-03-16 03:07:05 +0100 |
---|---|---|
committer | codecalm <codecalm@gmail.com> | 2022-03-16 03:07:05 +0100 |
commit | 59cd46598acf2c0f8a38e1083e951500cefba8a9 (patch) | |
tree | 7cec7df9a945154e79e7821f35d9e86fb62c4dd8 /README.md | |
parent | 18 new icons: `file-3d`, `file-arrow-left`, `file-arrow-right`, `file-barcode... (diff) | |
parent | Merge pull request #192 from WinterSilence/patch-1 (diff) | |
download | tabler-icons-59cd46598acf2c0f8a38e1083e951500cefba8a9.tar.xz |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 42 |
1 files changed, 36 insertions, 6 deletions
@@ -217,7 +217,7 @@ The default settings if you have not defined the file will be: { "includeIcons": [], "fontForge": "fontforge", - "strokeWidth": 2 + "strokeWidth": null } ``` @@ -225,16 +225,16 @@ The fontforge executable needs to be in the path or you can set the path to the ```JSON { - "fontForge":"/Applications/FontForge.app/Contents/MacOS/FontForge" + "fontForge": "/Applications/FontForge.app/Contents/MacOS/FontForge" } ``` + To compile the fonts run: ```sh npm run build-iconfont ``` -By default the stroke width is 2. You can change the stroke width in the compile-options.json - +By default the stroke width is 2. You can change the stroke width in the `compile-options.json` ```JSON { "strokeWidth": 1.5, @@ -245,9 +245,39 @@ To reduce the font file size you can choose to compile a sub set of icons. When ```JSON { - "includeIcons":["alert-octagon","alert-triangle"] + "includeIcons": ["alert-octagon", "alert-triangle"] +} +``` + +Optional property `includeCategories` - an array or string of icon categories to include, category names are case-issensetive. +```JSON +{ + "includeCategories": ["Devices", "System"] +} +``` +or +```JSON +{ + "includeCategories": "Devices System" +} +``` + +Optional property `excludeIcons` - an array of icon names using to exclude some category icons: +```JSON +{ + "includeCategories": ["system"], + "excludeIcons": ["adjustments"] } -``` +``` + +Complex solution: +```JSON +{ + "includeIcons": ["alert-octagon", "alert-triangle"], + "includeCategories": ["devices", "system"], + "excludeIcons": ["adjustments"] +} +``` ### Svelte |