-
-
Notifications
You must be signed in to change notification settings - Fork 66
/
themeRegistry.ts
94 lines (92 loc) · 2.52 KB
/
themeRegistry.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
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
import {CustomTheme} from '@codeimage/highlight';
interface ThemeRegistryEntry {
id: string;
load: () => Promise<CustomTheme>;
}
export const THEME_REGISTRY: ReadonlyArray<ThemeRegistryEntry> = [
{
id: 'vsCodeDarkTheme',
// prettier-ignore
load: () => import('@codeimage/highlight/themes').then(m => m.vsCodeDarkTheme),
},
{
id: 'nightOwl',
// prettier-ignore
load: () => import('@codeimage/highlight/themes').then(m => m.nightOwlTheme),
},
{
id: 'githubDark',
// prettier-ignore
load: () => import('@codeimage/highlight/themes').then(m => m.githubDarkTheme),
},
{
id: 'dracula',
// prettier-ignore
load: () => import('@codeimage/highlight/themes').then(m => m.draculaTheme),
},
{
id: 'materialOcean',
// prettier-ignore
load: () => import('@codeimage/highlight/themes').then(m => m.materialOceanTheme),
},
{
id: 'synthwave84',
// prettier-ignore
load: () => import('@codeimage/highlight/themes').then(m => m.synthwave84Theme),
},
{
id: 'poimandres',
// prettier-ignore
load: () => import('@codeimage/highlight/themes').then(m => m.poimandresTheme),
},
{
id: 'materialVolcano',
// prettier-ignore
load: () => import('@codeimage/highlight/themes').then(m => m.materialVolcanoTheme),
},
{
id: 'oneDark',
// prettier-ignore
load: () => import('@codeimage/highlight/themes').then(m => m.oneDarkTheme),
},
{
id: 'light',
// prettier-ignore
load: () => import('@codeimage/highlight/themes').then(m => m.lightTheme),
},
{
id: 'materialPalenight',
// prettier-ignore
load: () => import('@codeimage/highlight/themes').then(m => m.materialPalenightTheme),
},
{
id: 'githubLight',
// prettier-ignore
load: () => import('@codeimage/highlight/themes').then(m => m.githubLightTheme),
},
{
id: 'duotoneSea',
// prettier-ignore
load: () => import('@codeimage/highlight/themes').then(m => m.duotoneSeaTheme),
},
{
id: 'duotoneDark',
// prettier-ignore
load: () => import('@codeimage/highlight/themes').then(m => m.duotoneDarkTheme),
},
{
id: 'coldarkCold',
// prettier-ignore
load: () => import('@codeimage/highlight/themes').then(m => m.coldarkColdTheme),
},
{
id: 'coldarkDark',
// prettier-ignore
load: () => import('@codeimage/highlight/themes').then(m => m.coldarkDarkTheme),
},
{
id: 'materialLight',
// prettier-ignore
load: () => import('@codeimage/highlight/themes').then(m => m.materialLightTheme),
},
];