rev: 21c5e6d2f665d0e8b4ff917a51b664c895dab2ed tukan/tukan/icons/init.sc -rw-r--r-- 677 bytes View raw Log this file
21c5e6d2f665 — Leonard Ritter * renamed project from Liminal to Tukan 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import .font_awesome
import .kenney
import .material_design

syntax-extend
    let icons = (Scope)
    for k v in font_awesome
        set-scope-symbol! icons (k as Symbol) v
    for k v in kenney
        set-scope-symbol! icons (k as Symbol) v
    for k v in material_design
        set-scope-symbol! icons (k as Symbol) v
    set-scope-symbol! syntax-scope 'icons icons
    syntax-scope

set-scope-symbol! icons 'fa_icon_range
    arrayof u16 icons.icon-min-fa icons.icon-max-fa 0
set-scope-symbol! icons 'md_icon_range
    arrayof u16 icons.icon-min-md icons.icon-max-md 0
set-scope-symbol! icons 'ki_icon_range
    arrayof u16 icons.icon-min-ki icons.icon-max-ki 0

icons