-
-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathicon_mappings.py
More file actions
138 lines (135 loc) · 5.11 KB
/
Copy pathicon_mappings.py
File metadata and controls
138 lines (135 loc) · 5.11 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
"""Icon shortcut mappings for documentation substitutions."""
shortcut_icon_map = {
# Drive / navigation
'address-book': 'book-user', # contacts-book
'hdd-o': 'hard-drive', # drive
'hashtag': 'hash', # tag
'th-large': 'layout-grid', # grid
'list-ul': 'list', # list
'list': 'list',
'folder': 'folder',
'folder-open': 'folder-open',
# Actions
'share-alt': 'share2', # share
'unlock-alt': 'lock-open', # access / unlocked
'clone': 'copy',
'copy': 'copy',
'remove': 'x', # close
'times': 'x', # close
'send-o': 'send',
'paper-plane': 'send',
'print': 'printer',
'upload': 'upload',
'download': 'download', # export
'gear': 'settings',
'gears': 'settings',
'bars': 'menu', # all
'ellipsis-h': 'ellipsis', # ellipsis-horizontal
'ellipsis-v': 'ellipsis-vertical',
'compress': 'minimize2', # shrink-pad
'expand': 'square-plus',
# Notifications
'bell-o': 'bell', # notification
'bell': 'bell',
'bell-slash': 'bell-off', # mute
'envelope-o': 'mail',
'comment': 'message-square-text',
'comments': 'message-square-more',
'user-times': 'user-round-x', # unfriend
# History controls
'fast-backward': 'arrow-left-to-line', # history-fast-prev
'fast-forward': 'arrow-right-to-line', # history-fast-next
'step-backward': 'arrow-left', # history-prev
'step-forward': 'arrow-right', # history-next
'history': 'history',
'archive': 'archive',
'eraser': 'eraser', # remove-history / burn-drive
# Chevrons / arrows
'angle-double-down': 'chevrons-down', # downgrade
'angle-double-up': 'chevrons-up', # promote
'arrow-left': 'arrow-left',
'chevron-left': 'chevron-left',
'chevron-right': 'chevron-right',
'arrows': 'move', # select / grip
# Content / media
'file-o': 'file',
'file-image-o': 'file-image',
'picture-o': 'image-plus', # toolbar-insert
'camera': 'camera',
'font': 'type',
'i-cursor': 'text-cursor', # cursor
'paint-brush': 'brush-cleaning', # clear-canvas (whiteboard)
'eye': 'eye', # preview
'link': 'link',
'code': 'code-xml',
'lock': 'lock',
'key': 'key',
'plug': 'unplug', # logout-everywhere
'user': 'user',
'user-circle': 'circle-user-round', # user-profile
'users': 'users-round',
'calendar': 'calendar-days',
'calendar-plus-o': 'calendar-plus2', # calendar-add
'flag': 'flag', # renamed
'check': 'check',
'check-square': 'square-check', # checked-box
'square-o': 'square', # unchecked-box
'minus': 'minus',
'plus': 'plus',
'plus-circle': 'circle-plus',
'trash-o': 'trash', # trash-empty
'trash': 'trash2', # trash-full
'undo': 'undo',
'repeat': 'redo', # redo
'reply': 'reply',
'wrench': 'wrench', # apps-settings
'life-ring': 'life-buoy', # support
'info-circle': 'info', # help / properties
'question': 'circle-question-mark',
'pencil': 'pencil', # edit
'bookmark': 'save',
'play-circle': 'circle-play', # play
'circle': 'circle',
'bar-chart': 'chart-no-axes-combined', # stats
'cog': 'settings',
}
cptools_icon_map = {
'add-bottom': 'cp-kanban-add-bottom', # kanban-add-bottom
'add-top': 'cp-kanban-add-top',
'code': 'file-code', # code-pad
'destroy': 'shredder',
'palette': 'palette', # color-palette
'pad': 'file-text',
'slide': 'cp-file-slide',
'poll': 'file-chart-column-increasing',
'kanban': 'cp-file-kanban',
'whiteboard': 'cp-file-whiteboard',
'template': 'file-cog', # file-template
'new-template': 'file-up', # import-template
'richtext': 'file-text', # pad
'shared-folder': 'cp-folder-shared', # drive-shared-folder
'form-conditional': 'cp-form-conditional',
'form-grid-check': 'cp-form-grid-check',
'form-grid-radio': 'cp-form-grid-radio',
'form-list-check': 'list-checks',
'form-list-ordered': 'list-ordered',
'form-list-radio': 'list',
'form-page-break': 'cp-form-page-break',
'form-paragraph': 'text',
'form-poll': 'cp-form-poll',
'form-poll-maybe': 'cp-form-poll-maybe',
'form-text': 'minus',
}
admonition_icon_map = {
'note': 'info',
'warning': 'triangle-alert',
'danger': 'octagon-alert',
'error': 'circle-x',
'tip': 'lightbulb',
'hint': 'lightbulb',
'important': 'circle-alert',
'caution': 'triangle-alert',
'attention': 'triangle-alert',
'seealso': 'book-open',
'admonition-todo': 'list-todo',
}