mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
feat(code): add the rest of the themes
This commit is contained in:
@@ -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