|
1 |
| -export * from './assets/themes' |
| 1 | +// Generated by scripts/prepare.ts |
| 2 | +import type { DynamicImportThemeRegistration, BundledThemeInfo } from '@shikijs/core' |
| 3 | + |
| 4 | +export const bundledThemesInfo: BundledThemeInfo[] = [ |
| 5 | + { |
| 6 | + "id": "andromeeda", |
| 7 | + "displayName": "Andromeeda", |
| 8 | + "type": "dark", |
| 9 | + "import": (() => import('./themes/andromeeda.mjs')) as unknown as DynamicImportThemeRegistration |
| 10 | + }, |
| 11 | + { |
| 12 | + "id": "aurora-x", |
| 13 | + "displayName": "Aurora X", |
| 14 | + "type": "dark", |
| 15 | + "import": (() => import('./themes/aurora-x.mjs')) as unknown as DynamicImportThemeRegistration |
| 16 | + }, |
| 17 | + { |
| 18 | + "id": "ayu-dark", |
| 19 | + "displayName": "Ayu Dark", |
| 20 | + "type": "dark", |
| 21 | + "import": (() => import('./themes/ayu-dark.mjs')) as unknown as DynamicImportThemeRegistration |
| 22 | + }, |
| 23 | + { |
| 24 | + "id": "catppuccin-frappe", |
| 25 | + "displayName": "Catppuccin Frappé", |
| 26 | + "type": "dark", |
| 27 | + "import": (() => import('./themes/catppuccin-frappe.mjs')) as unknown as DynamicImportThemeRegistration |
| 28 | + }, |
| 29 | + { |
| 30 | + "id": "catppuccin-latte", |
| 31 | + "displayName": "Catppuccin Latte", |
| 32 | + "type": "light", |
| 33 | + "import": (() => import('./themes/catppuccin-latte.mjs')) as unknown as DynamicImportThemeRegistration |
| 34 | + }, |
| 35 | + { |
| 36 | + "id": "catppuccin-macchiato", |
| 37 | + "displayName": "Catppuccin Macchiato", |
| 38 | + "type": "dark", |
| 39 | + "import": (() => import('./themes/catppuccin-macchiato.mjs')) as unknown as DynamicImportThemeRegistration |
| 40 | + }, |
| 41 | + { |
| 42 | + "id": "catppuccin-mocha", |
| 43 | + "displayName": "Catppuccin Mocha", |
| 44 | + "type": "dark", |
| 45 | + "import": (() => import('./themes/catppuccin-mocha.mjs')) as unknown as DynamicImportThemeRegistration |
| 46 | + }, |
| 47 | + { |
| 48 | + "id": "dark-plus", |
| 49 | + "displayName": "Dark Plus", |
| 50 | + "type": "dark", |
| 51 | + "import": (() => import('./themes/dark-plus.mjs')) as unknown as DynamicImportThemeRegistration |
| 52 | + }, |
| 53 | + { |
| 54 | + "id": "dracula", |
| 55 | + "displayName": "Dracula Theme", |
| 56 | + "type": "dark", |
| 57 | + "import": (() => import('./themes/dracula.mjs')) as unknown as DynamicImportThemeRegistration |
| 58 | + }, |
| 59 | + { |
| 60 | + "id": "dracula-soft", |
| 61 | + "displayName": "Dracula Theme Soft", |
| 62 | + "type": "dark", |
| 63 | + "import": (() => import('./themes/dracula-soft.mjs')) as unknown as DynamicImportThemeRegistration |
| 64 | + }, |
| 65 | + { |
| 66 | + "id": "everforest-dark", |
| 67 | + "displayName": "Everforest Dark", |
| 68 | + "type": "dark", |
| 69 | + "import": (() => import('./themes/everforest-dark.mjs')) as unknown as DynamicImportThemeRegistration |
| 70 | + }, |
| 71 | + { |
| 72 | + "id": "everforest-light", |
| 73 | + "displayName": "Everforest Light", |
| 74 | + "type": "light", |
| 75 | + "import": (() => import('./themes/everforest-light.mjs')) as unknown as DynamicImportThemeRegistration |
| 76 | + }, |
| 77 | + { |
| 78 | + "id": "github-dark", |
| 79 | + "displayName": "GitHub Dark", |
| 80 | + "type": "dark", |
| 81 | + "import": (() => import('./themes/github-dark.mjs')) as unknown as DynamicImportThemeRegistration |
| 82 | + }, |
| 83 | + { |
| 84 | + "id": "github-dark-default", |
| 85 | + "displayName": "GitHub Dark Default", |
| 86 | + "type": "dark", |
| 87 | + "import": (() => import('./themes/github-dark-default.mjs')) as unknown as DynamicImportThemeRegistration |
| 88 | + }, |
| 89 | + { |
| 90 | + "id": "github-dark-dimmed", |
| 91 | + "displayName": "GitHub Dark Dimmed", |
| 92 | + "type": "dark", |
| 93 | + "import": (() => import('./themes/github-dark-dimmed.mjs')) as unknown as DynamicImportThemeRegistration |
| 94 | + }, |
| 95 | + { |
| 96 | + "id": "github-dark-high-contrast", |
| 97 | + "displayName": "GitHub Dark High Contrast", |
| 98 | + "type": "dark", |
| 99 | + "import": (() => import('./themes/github-dark-high-contrast.mjs')) as unknown as DynamicImportThemeRegistration |
| 100 | + }, |
| 101 | + { |
| 102 | + "id": "github-light", |
| 103 | + "displayName": "GitHub Light", |
| 104 | + "type": "light", |
| 105 | + "import": (() => import('./themes/github-light.mjs')) as unknown as DynamicImportThemeRegistration |
| 106 | + }, |
| 107 | + { |
| 108 | + "id": "github-light-default", |
| 109 | + "displayName": "GitHub Light Default", |
| 110 | + "type": "light", |
| 111 | + "import": (() => import('./themes/github-light-default.mjs')) as unknown as DynamicImportThemeRegistration |
| 112 | + }, |
| 113 | + { |
| 114 | + "id": "github-light-high-contrast", |
| 115 | + "displayName": "GitHub Light High Contrast", |
| 116 | + "type": "light", |
| 117 | + "import": (() => import('./themes/github-light-high-contrast.mjs')) as unknown as DynamicImportThemeRegistration |
| 118 | + }, |
| 119 | + { |
| 120 | + "id": "houston", |
| 121 | + "displayName": "Houston", |
| 122 | + "type": "dark", |
| 123 | + "import": (() => import('./themes/houston.mjs')) as unknown as DynamicImportThemeRegistration |
| 124 | + }, |
| 125 | + { |
| 126 | + "id": "laserwave", |
| 127 | + "displayName": "LaserWave", |
| 128 | + "type": "dark", |
| 129 | + "import": (() => import('./themes/laserwave.mjs')) as unknown as DynamicImportThemeRegistration |
| 130 | + }, |
| 131 | + { |
| 132 | + "id": "light-plus", |
| 133 | + "displayName": "Light Plus", |
| 134 | + "type": "light", |
| 135 | + "import": (() => import('./themes/light-plus.mjs')) as unknown as DynamicImportThemeRegistration |
| 136 | + }, |
| 137 | + { |
| 138 | + "id": "material-theme", |
| 139 | + "displayName": "Material Theme", |
| 140 | + "type": "dark", |
| 141 | + "import": (() => import('./themes/material-theme.mjs')) as unknown as DynamicImportThemeRegistration |
| 142 | + }, |
| 143 | + { |
| 144 | + "id": "material-theme-darker", |
| 145 | + "displayName": "Material Theme Darker", |
| 146 | + "type": "dark", |
| 147 | + "import": (() => import('./themes/material-theme-darker.mjs')) as unknown as DynamicImportThemeRegistration |
| 148 | + }, |
| 149 | + { |
| 150 | + "id": "material-theme-lighter", |
| 151 | + "displayName": "Material Theme Lighter", |
| 152 | + "type": "light", |
| 153 | + "import": (() => import('./themes/material-theme-lighter.mjs')) as unknown as DynamicImportThemeRegistration |
| 154 | + }, |
| 155 | + { |
| 156 | + "id": "material-theme-ocean", |
| 157 | + "displayName": "Material Theme Ocean", |
| 158 | + "type": "dark", |
| 159 | + "import": (() => import('./themes/material-theme-ocean.mjs')) as unknown as DynamicImportThemeRegistration |
| 160 | + }, |
| 161 | + { |
| 162 | + "id": "material-theme-palenight", |
| 163 | + "displayName": "Material Theme Palenight", |
| 164 | + "type": "dark", |
| 165 | + "import": (() => import('./themes/material-theme-palenight.mjs')) as unknown as DynamicImportThemeRegistration |
| 166 | + }, |
| 167 | + { |
| 168 | + "id": "min-dark", |
| 169 | + "displayName": "Min Dark", |
| 170 | + "type": "dark", |
| 171 | + "import": (() => import('./themes/min-dark.mjs')) as unknown as DynamicImportThemeRegistration |
| 172 | + }, |
| 173 | + { |
| 174 | + "id": "min-light", |
| 175 | + "displayName": "Min Light", |
| 176 | + "type": "light", |
| 177 | + "import": (() => import('./themes/min-light.mjs')) as unknown as DynamicImportThemeRegistration |
| 178 | + }, |
| 179 | + { |
| 180 | + "id": "monokai", |
| 181 | + "displayName": "Monokai", |
| 182 | + "type": "dark", |
| 183 | + "import": (() => import('./themes/monokai.mjs')) as unknown as DynamicImportThemeRegistration |
| 184 | + }, |
| 185 | + { |
| 186 | + "id": "night-owl", |
| 187 | + "displayName": "Night Owl", |
| 188 | + "type": "dark", |
| 189 | + "import": (() => import('./themes/night-owl.mjs')) as unknown as DynamicImportThemeRegistration |
| 190 | + }, |
| 191 | + { |
| 192 | + "id": "nord", |
| 193 | + "displayName": "Nord", |
| 194 | + "type": "dark", |
| 195 | + "import": (() => import('./themes/nord.mjs')) as unknown as DynamicImportThemeRegistration |
| 196 | + }, |
| 197 | + { |
| 198 | + "id": "one-dark-pro", |
| 199 | + "displayName": "One Dark Pro", |
| 200 | + "type": "dark", |
| 201 | + "import": (() => import('./themes/one-dark-pro.mjs')) as unknown as DynamicImportThemeRegistration |
| 202 | + }, |
| 203 | + { |
| 204 | + "id": "one-light", |
| 205 | + "displayName": "One Light", |
| 206 | + "type": "light", |
| 207 | + "import": (() => import('./themes/one-light.mjs')) as unknown as DynamicImportThemeRegistration |
| 208 | + }, |
| 209 | + { |
| 210 | + "id": "plastic", |
| 211 | + "displayName": "Plastic", |
| 212 | + "type": "dark", |
| 213 | + "import": (() => import('./themes/plastic.mjs')) as unknown as DynamicImportThemeRegistration |
| 214 | + }, |
| 215 | + { |
| 216 | + "id": "poimandres", |
| 217 | + "displayName": "Poimandres", |
| 218 | + "type": "dark", |
| 219 | + "import": (() => import('./themes/poimandres.mjs')) as unknown as DynamicImportThemeRegistration |
| 220 | + }, |
| 221 | + { |
| 222 | + "id": "red", |
| 223 | + "displayName": "Red", |
| 224 | + "type": "dark", |
| 225 | + "import": (() => import('./themes/red.mjs')) as unknown as DynamicImportThemeRegistration |
| 226 | + }, |
| 227 | + { |
| 228 | + "id": "rose-pine", |
| 229 | + "displayName": "Rosé Pine", |
| 230 | + "type": "dark", |
| 231 | + "import": (() => import('./themes/rose-pine.mjs')) as unknown as DynamicImportThemeRegistration |
| 232 | + }, |
| 233 | + { |
| 234 | + "id": "rose-pine-dawn", |
| 235 | + "displayName": "Rosé Pine Dawn", |
| 236 | + "type": "light", |
| 237 | + "import": (() => import('./themes/rose-pine-dawn.mjs')) as unknown as DynamicImportThemeRegistration |
| 238 | + }, |
| 239 | + { |
| 240 | + "id": "rose-pine-moon", |
| 241 | + "displayName": "Rosé Pine Moon", |
| 242 | + "type": "dark", |
| 243 | + "import": (() => import('./themes/rose-pine-moon.mjs')) as unknown as DynamicImportThemeRegistration |
| 244 | + }, |
| 245 | + { |
| 246 | + "id": "slack-dark", |
| 247 | + "displayName": "Slack Dark", |
| 248 | + "type": "dark", |
| 249 | + "import": (() => import('./themes/slack-dark.mjs')) as unknown as DynamicImportThemeRegistration |
| 250 | + }, |
| 251 | + { |
| 252 | + "id": "slack-ochin", |
| 253 | + "displayName": "Slack Ochin", |
| 254 | + "type": "light", |
| 255 | + "import": (() => import('./themes/slack-ochin.mjs')) as unknown as DynamicImportThemeRegistration |
| 256 | + }, |
| 257 | + { |
| 258 | + "id": "snazzy-light", |
| 259 | + "displayName": "Snazzy Light", |
| 260 | + "type": "light", |
| 261 | + "import": (() => import('./themes/snazzy-light.mjs')) as unknown as DynamicImportThemeRegistration |
| 262 | + }, |
| 263 | + { |
| 264 | + "id": "solarized-dark", |
| 265 | + "displayName": "Solarized Dark", |
| 266 | + "type": "dark", |
| 267 | + "import": (() => import('./themes/solarized-dark.mjs')) as unknown as DynamicImportThemeRegistration |
| 268 | + }, |
| 269 | + { |
| 270 | + "id": "solarized-light", |
| 271 | + "displayName": "Solarized Light", |
| 272 | + "type": "light", |
| 273 | + "import": (() => import('./themes/solarized-light.mjs')) as unknown as DynamicImportThemeRegistration |
| 274 | + }, |
| 275 | + { |
| 276 | + "id": "synthwave-84", |
| 277 | + "displayName": "Synthwave '84", |
| 278 | + "type": "dark", |
| 279 | + "import": (() => import('./themes/synthwave-84.mjs')) as unknown as DynamicImportThemeRegistration |
| 280 | + }, |
| 281 | + { |
| 282 | + "id": "tokyo-night", |
| 283 | + "displayName": "Tokyo Night", |
| 284 | + "type": "dark", |
| 285 | + "import": (() => import('./themes/tokyo-night.mjs')) as unknown as DynamicImportThemeRegistration |
| 286 | + }, |
| 287 | + { |
| 288 | + "id": "vesper", |
| 289 | + "displayName": "Vesper", |
| 290 | + "type": "dark", |
| 291 | + "import": (() => import('./themes/vesper.mjs')) as unknown as DynamicImportThemeRegistration |
| 292 | + }, |
| 293 | + { |
| 294 | + "id": "vitesse-black", |
| 295 | + "displayName": "Vitesse Black", |
| 296 | + "type": "dark", |
| 297 | + "import": (() => import('./themes/vitesse-black.mjs')) as unknown as DynamicImportThemeRegistration |
| 298 | + }, |
| 299 | + { |
| 300 | + "id": "vitesse-dark", |
| 301 | + "displayName": "Vitesse Dark", |
| 302 | + "type": "dark", |
| 303 | + "import": (() => import('./themes/vitesse-dark.mjs')) as unknown as DynamicImportThemeRegistration |
| 304 | + }, |
| 305 | + { |
| 306 | + "id": "vitesse-light", |
| 307 | + "displayName": "Vitesse Light", |
| 308 | + "type": "light", |
| 309 | + "import": (() => import('./themes/vitesse-light.mjs')) as unknown as DynamicImportThemeRegistration |
| 310 | + } |
| 311 | +] |
| 312 | + |
| 313 | +export type BundledTheme = |
| 314 | + | 'andromeeda' |
| 315 | + | 'aurora-x' |
| 316 | + | 'ayu-dark' |
| 317 | + | 'catppuccin-frappe' |
| 318 | + | 'catppuccin-latte' |
| 319 | + | 'catppuccin-macchiato' |
| 320 | + | 'catppuccin-mocha' |
| 321 | + | 'dark-plus' |
| 322 | + | 'dracula' |
| 323 | + | 'dracula-soft' |
| 324 | + | 'everforest-dark' |
| 325 | + | 'everforest-light' |
| 326 | + | 'github-dark' |
| 327 | + | 'github-dark-default' |
| 328 | + | 'github-dark-dimmed' |
| 329 | + | 'github-dark-high-contrast' |
| 330 | + | 'github-light' |
| 331 | + | 'github-light-default' |
| 332 | + | 'github-light-high-contrast' |
| 333 | + | 'houston' |
| 334 | + | 'laserwave' |
| 335 | + | 'light-plus' |
| 336 | + | 'material-theme' |
| 337 | + | 'material-theme-darker' |
| 338 | + | 'material-theme-lighter' |
| 339 | + | 'material-theme-ocean' |
| 340 | + | 'material-theme-palenight' |
| 341 | + | 'min-dark' |
| 342 | + | 'min-light' |
| 343 | + | 'monokai' |
| 344 | + | 'night-owl' |
| 345 | + | 'nord' |
| 346 | + | 'one-dark-pro' |
| 347 | + | 'one-light' |
| 348 | + | 'plastic' |
| 349 | + | 'poimandres' |
| 350 | + | 'red' |
| 351 | + | 'rose-pine' |
| 352 | + | 'rose-pine-dawn' |
| 353 | + | 'rose-pine-moon' |
| 354 | + | 'slack-dark' |
| 355 | + | 'slack-ochin' |
| 356 | + | 'snazzy-light' |
| 357 | + | 'solarized-dark' |
| 358 | + | 'solarized-light' |
| 359 | + | 'synthwave-84' |
| 360 | + | 'tokyo-night' |
| 361 | + | 'vesper' |
| 362 | + | 'vitesse-black' |
| 363 | + | 'vitesse-dark' |
| 364 | + | 'vitesse-light' |
| 365 | + |
| 366 | +export const bundledThemes = Object.fromEntries(bundledThemesInfo.map(i => [i.id, i.import])) as Record<BundledTheme, DynamicImportThemeRegistration> |
0 commit comments