mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-01-05 12:29:54 -06:00
feat(code): add the rest of the themes
This commit is contained in:
@@ -33,6 +33,27 @@
|
||||
"@codemirror/view": "6.36.7",
|
||||
"@fsegurai/codemirror-theme-abcdef": "6.1.4",
|
||||
"@fsegurai/codemirror-theme-abyss": "6.1.4",
|
||||
"@fsegurai/codemirror-theme-android-studio": "6.1.4",
|
||||
"@fsegurai/codemirror-theme-andromeda": "6.1.4",
|
||||
"@fsegurai/codemirror-theme-basic-dark": "6.1.4",
|
||||
"@fsegurai/codemirror-theme-basic-light": "6.1.4",
|
||||
"@fsegurai/codemirror-theme-forest": "6.1.4",
|
||||
"@fsegurai/codemirror-theme-github-dark": "6.1.4",
|
||||
"@fsegurai/codemirror-theme-github-light": "6.1.4",
|
||||
"@fsegurai/codemirror-theme-gruvbox-dark": "6.1.4",
|
||||
"@fsegurai/codemirror-theme-gruvbox-light": "6.1.4",
|
||||
"@fsegurai/codemirror-theme-material-dark": "6.1.4",
|
||||
"@fsegurai/codemirror-theme-material-light": "6.1.4",
|
||||
"@fsegurai/codemirror-theme-monokai": "6.1.4",
|
||||
"@fsegurai/codemirror-theme-nord": "6.1.4",
|
||||
"@fsegurai/codemirror-theme-palenight": "6.1.4",
|
||||
"@fsegurai/codemirror-theme-solarized-dark": "6.1.4",
|
||||
"@fsegurai/codemirror-theme-solarized-light": "6.1.4",
|
||||
"@fsegurai/codemirror-theme-tokyo-night-day": "6.1.4",
|
||||
"@fsegurai/codemirror-theme-tokyo-night-storm": "6.1.4",
|
||||
"@fsegurai/codemirror-theme-volcano": "6.1.4",
|
||||
"@fsegurai/codemirror-theme-vscode-dark": "6.1.4",
|
||||
"@fsegurai/codemirror-theme-vscode-light": "6.1.4",
|
||||
"@replit/codemirror-lang-nix": "6.0.1",
|
||||
"@replit/codemirror-vim": "6.3.0",
|
||||
"@ssddanbrown/codemirror-lang-smarty": "1.0.0",
|
||||
|
||||
@@ -13,7 +13,91 @@ const themes: ThemeDefinition[] = [
|
||||
{
|
||||
id: "abcdef",
|
||||
load: async () => (await import("@fsegurai/codemirror-theme-abcdef")).abcdef
|
||||
}
|
||||
},
|
||||
{
|
||||
id: "androidStudio",
|
||||
load: async () => (await import("@fsegurai/codemirror-theme-android-studio")).androidStudio
|
||||
},
|
||||
{
|
||||
id: "andromeda",
|
||||
load: async () => (await import("@fsegurai/codemirror-theme-andromeda")).andromeda
|
||||
},
|
||||
{
|
||||
id: "basicDark",
|
||||
load: async () => (await import("@fsegurai/codemirror-theme-basic-dark")).basicDark
|
||||
},
|
||||
{
|
||||
id: "basicLight",
|
||||
load: async () => (await import("@fsegurai/codemirror-theme-basic-light")).basicLight
|
||||
},
|
||||
{
|
||||
id: "forest",
|
||||
load: async () => (await import("@fsegurai/codemirror-theme-forest")).forest
|
||||
},
|
||||
{
|
||||
id: "githubDark",
|
||||
load: async () => (await import("@fsegurai/codemirror-theme-github-dark")).githubDark
|
||||
},
|
||||
{
|
||||
id: "githubLight",
|
||||
load: async () => (await import("@fsegurai/codemirror-theme-github-light")).githubLight
|
||||
},
|
||||
{
|
||||
id: "gruvboxDark",
|
||||
load: async () => (await import("@fsegurai/codemirror-theme-gruvbox-dark")).gruvboxDark
|
||||
},
|
||||
{
|
||||
id: "gruvboxLight",
|
||||
load: async () => (await import("@fsegurai/codemirror-theme-gruvbox-light")).gruvboxLight
|
||||
},
|
||||
{
|
||||
id: "materialDark",
|
||||
load: async () => (await import("@fsegurai/codemirror-theme-material-dark")).materialDark
|
||||
},
|
||||
{
|
||||
id: "materialLight",
|
||||
load: async () => (await import("@fsegurai/codemirror-theme-material-light")).materialLight
|
||||
},
|
||||
{
|
||||
id: "monokai",
|
||||
load: async () => (await import("@fsegurai/codemirror-theme-monokai")).monokai
|
||||
},
|
||||
{
|
||||
id: "nord",
|
||||
load: async () => (await import("@fsegurai/codemirror-theme-nord")).nord
|
||||
},
|
||||
{
|
||||
id: "palenight",
|
||||
load: async () => (await import("@fsegurai/codemirror-theme-palenight")).palenight
|
||||
},
|
||||
{
|
||||
id: "solarizedDark",
|
||||
load: async () => (await import("@fsegurai/codemirror-theme-solarized-dark")).solarizedDark
|
||||
},
|
||||
{
|
||||
id: "solarizedLight",
|
||||
load: async () => (await import("@fsegurai/codemirror-theme-solarized-light")).solarizedLight
|
||||
},
|
||||
{
|
||||
id: "tokyoNightDay",
|
||||
load: async () => (await import("@fsegurai/codemirror-theme-tokyo-night-day")).tokyoNightDay
|
||||
},
|
||||
{
|
||||
id: "tokyoNightStorm",
|
||||
load: async () => (await import("@fsegurai/codemirror-theme-tokyo-night-storm")).tokyoNightStorm
|
||||
},
|
||||
{
|
||||
id: "volcano",
|
||||
load: async () => (await import("@fsegurai/codemirror-theme-volcano")).volcano
|
||||
},
|
||||
{
|
||||
id: "vsCodeDark",
|
||||
load: async () => (await import("@fsegurai/codemirror-theme-vscode-dark")).vsCodeDark
|
||||
},
|
||||
{
|
||||
id: "vsCodeLight",
|
||||
load: async () => (await import("@fsegurai/codemirror-theme-vscode-light")).vsCodeLight
|
||||
},
|
||||
]
|
||||
|
||||
export function getThemeById(id: string) {
|
||||
|
||||
Reference in New Issue
Block a user