generated from OlegWock/webpack-react-web-extension-template
-
-
Notifications
You must be signed in to change notification settings - Fork 45
/
all-sets.ts
48 lines (43 loc) · 1.88 KB
/
all-sets.ts
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
//////////////////////////////////////////////////////////////////
//////// THIS FILE IS GENERATED AUTOMATICALLY DO NOT EDIT ////////
////// TO MODIFY THIS FILE HEAD TO generate-icons-assets.ts //////
//////////////////////////////////////////////////////////////////
import { CUSTOM_ICONS_AVAILABLE } from '@utils/custom-icons';
import { translate } from '@translations/index';
export const allSets = [
"ion", // https://icon-sets.iconify.design/ion/
"fluent", // https://icon-sets.iconify.design/fluent/
"ic", // https://icon-sets.iconify.design/ic/
"jam", // https://icon-sets.iconify.design/jam/
"fluent-emoji-flat", // https://icon-sets.iconify.design/fluent-emoji-flat/
"twemoji", // https://icon-sets.iconify.design/twemoji/
"flat-color-icons", // https://icon-sets.iconify.design/flat-color-icons/
"logos", // https://icon-sets.iconify.design/logos/
"skill-icons", // https://icon-sets.iconify.design/skill-icons/
"vscode-icons", // https://icon-sets.iconify.design/vscode-icons/
"circle-flags", // https://icon-sets.iconify.design/circle-flags/
"flagpack", // https://icon-sets.iconify.design/flagpack/
"wi", // https://icon-sets.iconify.design/wi/,
];
export const iconSetPrettyNames: Record<string, string> = {
'ion': "IonIcons",
'fluent': "Fluent UI System Icons",
'ic': "Google Material Icons",
'jam': "Jam Icons",
'fluent-emoji-flat': "Fluent Emoji Flat",
'twemoji': "Twitter Emoji",
'flat-color-icons': "Flat Color Icons",
'logos': "SVG Logos",
'skill-icons': "Skill Icons",
'vscode-icons': "VSCode Icons",
'circle-flags': "Circle Flags",
'flagpack': "Flagpack",
'wi': "Weather Icons",
} as const;
if (CUSTOM_ICONS_AVAILABLE) {
// Icons uploaded by user
allSets.push('custom');
Object.defineProperty(iconSetPrettyNames, 'custom', {
get: () => translate('customIcons')
});
}