397 lines
9.4 KiB
JavaScript
397 lines
9.4 KiB
JavaScript
//#region src/themes.ts
|
|
const bundledThemesInfo = [
|
|
{
|
|
"id": "andromeeda",
|
|
"displayName": "Andromeeda",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/andromeeda"))
|
|
},
|
|
{
|
|
"id": "aurora-x",
|
|
"displayName": "Aurora X",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/aurora-x"))
|
|
},
|
|
{
|
|
"id": "ayu-dark",
|
|
"displayName": "Ayu Dark",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/ayu-dark"))
|
|
},
|
|
{
|
|
"id": "ayu-light",
|
|
"displayName": "Ayu Light",
|
|
"type": "light",
|
|
"import": (() => import("@shikijs/themes/ayu-light"))
|
|
},
|
|
{
|
|
"id": "ayu-mirage",
|
|
"displayName": "Ayu Mirage",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/ayu-mirage"))
|
|
},
|
|
{
|
|
"id": "catppuccin-frappe",
|
|
"displayName": "Catppuccin Frappé",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/catppuccin-frappe"))
|
|
},
|
|
{
|
|
"id": "catppuccin-latte",
|
|
"displayName": "Catppuccin Latte",
|
|
"type": "light",
|
|
"import": (() => import("@shikijs/themes/catppuccin-latte"))
|
|
},
|
|
{
|
|
"id": "catppuccin-macchiato",
|
|
"displayName": "Catppuccin Macchiato",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/catppuccin-macchiato"))
|
|
},
|
|
{
|
|
"id": "catppuccin-mocha",
|
|
"displayName": "Catppuccin Mocha",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/catppuccin-mocha"))
|
|
},
|
|
{
|
|
"id": "dark-plus",
|
|
"displayName": "Dark Plus",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/dark-plus"))
|
|
},
|
|
{
|
|
"id": "dracula",
|
|
"displayName": "Dracula Theme",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/dracula"))
|
|
},
|
|
{
|
|
"id": "dracula-soft",
|
|
"displayName": "Dracula Theme Soft",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/dracula-soft"))
|
|
},
|
|
{
|
|
"id": "everforest-dark",
|
|
"displayName": "Everforest Dark",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/everforest-dark"))
|
|
},
|
|
{
|
|
"id": "everforest-light",
|
|
"displayName": "Everforest Light",
|
|
"type": "light",
|
|
"import": (() => import("@shikijs/themes/everforest-light"))
|
|
},
|
|
{
|
|
"id": "github-dark",
|
|
"displayName": "GitHub Dark",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/github-dark"))
|
|
},
|
|
{
|
|
"id": "github-dark-default",
|
|
"displayName": "GitHub Dark Default",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/github-dark-default"))
|
|
},
|
|
{
|
|
"id": "github-dark-dimmed",
|
|
"displayName": "GitHub Dark Dimmed",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/github-dark-dimmed"))
|
|
},
|
|
{
|
|
"id": "github-dark-high-contrast",
|
|
"displayName": "GitHub Dark High Contrast",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/github-dark-high-contrast"))
|
|
},
|
|
{
|
|
"id": "github-light",
|
|
"displayName": "GitHub Light",
|
|
"type": "light",
|
|
"import": (() => import("@shikijs/themes/github-light"))
|
|
},
|
|
{
|
|
"id": "github-light-default",
|
|
"displayName": "GitHub Light Default",
|
|
"type": "light",
|
|
"import": (() => import("@shikijs/themes/github-light-default"))
|
|
},
|
|
{
|
|
"id": "github-light-high-contrast",
|
|
"displayName": "GitHub Light High Contrast",
|
|
"type": "light",
|
|
"import": (() => import("@shikijs/themes/github-light-high-contrast"))
|
|
},
|
|
{
|
|
"id": "gruvbox-dark-hard",
|
|
"displayName": "Gruvbox Dark Hard",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/gruvbox-dark-hard"))
|
|
},
|
|
{
|
|
"id": "gruvbox-dark-medium",
|
|
"displayName": "Gruvbox Dark Medium",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/gruvbox-dark-medium"))
|
|
},
|
|
{
|
|
"id": "gruvbox-dark-soft",
|
|
"displayName": "Gruvbox Dark Soft",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/gruvbox-dark-soft"))
|
|
},
|
|
{
|
|
"id": "gruvbox-light-hard",
|
|
"displayName": "Gruvbox Light Hard",
|
|
"type": "light",
|
|
"import": (() => import("@shikijs/themes/gruvbox-light-hard"))
|
|
},
|
|
{
|
|
"id": "gruvbox-light-medium",
|
|
"displayName": "Gruvbox Light Medium",
|
|
"type": "light",
|
|
"import": (() => import("@shikijs/themes/gruvbox-light-medium"))
|
|
},
|
|
{
|
|
"id": "gruvbox-light-soft",
|
|
"displayName": "Gruvbox Light Soft",
|
|
"type": "light",
|
|
"import": (() => import("@shikijs/themes/gruvbox-light-soft"))
|
|
},
|
|
{
|
|
"id": "horizon",
|
|
"displayName": "Horizon",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/horizon"))
|
|
},
|
|
{
|
|
"id": "horizon-bright",
|
|
"displayName": "Horizon Bright",
|
|
"type": "light",
|
|
"import": (() => import("@shikijs/themes/horizon-bright"))
|
|
},
|
|
{
|
|
"id": "houston",
|
|
"displayName": "Houston",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/houston"))
|
|
},
|
|
{
|
|
"id": "kanagawa-dragon",
|
|
"displayName": "Kanagawa Dragon",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/kanagawa-dragon"))
|
|
},
|
|
{
|
|
"id": "kanagawa-lotus",
|
|
"displayName": "Kanagawa Lotus",
|
|
"type": "light",
|
|
"import": (() => import("@shikijs/themes/kanagawa-lotus"))
|
|
},
|
|
{
|
|
"id": "kanagawa-wave",
|
|
"displayName": "Kanagawa Wave",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/kanagawa-wave"))
|
|
},
|
|
{
|
|
"id": "laserwave",
|
|
"displayName": "LaserWave",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/laserwave"))
|
|
},
|
|
{
|
|
"id": "light-plus",
|
|
"displayName": "Light Plus",
|
|
"type": "light",
|
|
"import": (() => import("@shikijs/themes/light-plus"))
|
|
},
|
|
{
|
|
"id": "material-theme",
|
|
"displayName": "Material Theme",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/material-theme"))
|
|
},
|
|
{
|
|
"id": "material-theme-darker",
|
|
"displayName": "Material Theme Darker",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/material-theme-darker"))
|
|
},
|
|
{
|
|
"id": "material-theme-lighter",
|
|
"displayName": "Material Theme Lighter",
|
|
"type": "light",
|
|
"import": (() => import("@shikijs/themes/material-theme-lighter"))
|
|
},
|
|
{
|
|
"id": "material-theme-ocean",
|
|
"displayName": "Material Theme Ocean",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/material-theme-ocean"))
|
|
},
|
|
{
|
|
"id": "material-theme-palenight",
|
|
"displayName": "Material Theme Palenight",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/material-theme-palenight"))
|
|
},
|
|
{
|
|
"id": "min-dark",
|
|
"displayName": "Min Dark",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/min-dark"))
|
|
},
|
|
{
|
|
"id": "min-light",
|
|
"displayName": "Min Light",
|
|
"type": "light",
|
|
"import": (() => import("@shikijs/themes/min-light"))
|
|
},
|
|
{
|
|
"id": "monokai",
|
|
"displayName": "Monokai",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/monokai"))
|
|
},
|
|
{
|
|
"id": "night-owl",
|
|
"displayName": "Night Owl",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/night-owl"))
|
|
},
|
|
{
|
|
"id": "night-owl-light",
|
|
"displayName": "Night Owl Light",
|
|
"type": "light",
|
|
"import": (() => import("@shikijs/themes/night-owl-light"))
|
|
},
|
|
{
|
|
"id": "nord",
|
|
"displayName": "Nord",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/nord"))
|
|
},
|
|
{
|
|
"id": "one-dark-pro",
|
|
"displayName": "One Dark Pro",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/one-dark-pro"))
|
|
},
|
|
{
|
|
"id": "one-light",
|
|
"displayName": "One Light",
|
|
"type": "light",
|
|
"import": (() => import("@shikijs/themes/one-light"))
|
|
},
|
|
{
|
|
"id": "plastic",
|
|
"displayName": "Plastic",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/plastic"))
|
|
},
|
|
{
|
|
"id": "poimandres",
|
|
"displayName": "Poimandres",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/poimandres"))
|
|
},
|
|
{
|
|
"id": "red",
|
|
"displayName": "Red",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/red"))
|
|
},
|
|
{
|
|
"id": "rose-pine",
|
|
"displayName": "Rosé Pine",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/rose-pine"))
|
|
},
|
|
{
|
|
"id": "rose-pine-dawn",
|
|
"displayName": "Rosé Pine Dawn",
|
|
"type": "light",
|
|
"import": (() => import("@shikijs/themes/rose-pine-dawn"))
|
|
},
|
|
{
|
|
"id": "rose-pine-moon",
|
|
"displayName": "Rosé Pine Moon",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/rose-pine-moon"))
|
|
},
|
|
{
|
|
"id": "slack-dark",
|
|
"displayName": "Slack Dark",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/slack-dark"))
|
|
},
|
|
{
|
|
"id": "slack-ochin",
|
|
"displayName": "Slack Ochin",
|
|
"type": "light",
|
|
"import": (() => import("@shikijs/themes/slack-ochin"))
|
|
},
|
|
{
|
|
"id": "snazzy-light",
|
|
"displayName": "Snazzy Light",
|
|
"type": "light",
|
|
"import": (() => import("@shikijs/themes/snazzy-light"))
|
|
},
|
|
{
|
|
"id": "solarized-dark",
|
|
"displayName": "Solarized Dark",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/solarized-dark"))
|
|
},
|
|
{
|
|
"id": "solarized-light",
|
|
"displayName": "Solarized Light",
|
|
"type": "light",
|
|
"import": (() => import("@shikijs/themes/solarized-light"))
|
|
},
|
|
{
|
|
"id": "synthwave-84",
|
|
"displayName": "Synthwave '84",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/synthwave-84"))
|
|
},
|
|
{
|
|
"id": "tokyo-night",
|
|
"displayName": "Tokyo Night",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/tokyo-night"))
|
|
},
|
|
{
|
|
"id": "vesper",
|
|
"displayName": "Vesper",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/vesper"))
|
|
},
|
|
{
|
|
"id": "vitesse-black",
|
|
"displayName": "Vitesse Black",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/vitesse-black"))
|
|
},
|
|
{
|
|
"id": "vitesse-dark",
|
|
"displayName": "Vitesse Dark",
|
|
"type": "dark",
|
|
"import": (() => import("@shikijs/themes/vitesse-dark"))
|
|
},
|
|
{
|
|
"id": "vitesse-light",
|
|
"displayName": "Vitesse Light",
|
|
"type": "light",
|
|
"import": (() => import("@shikijs/themes/vitesse-light"))
|
|
}
|
|
];
|
|
const bundledThemes = Object.fromEntries(bundledThemesInfo.map((i) => [i.id, i.import]));
|
|
|
|
//#endregion
|
|
export { bundledThemes, bundledThemesInfo }; |