mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	refactor(code): use hyphens for theme ID
This commit is contained in:
		| @@ -18,7 +18,7 @@ const themes: ThemeDefinition[] = [ | |||||||
|         load: async () => (await import("@fsegurai/codemirror-theme-abcdef")).abcdef |         load: async () => (await import("@fsegurai/codemirror-theme-abcdef")).abcdef | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|         id: "androidStudio", |         id: "android-studio", | ||||||
|         name: "Android Studio", |         name: "Android Studio", | ||||||
|         load: async () => (await import("@fsegurai/codemirror-theme-android-studio")).androidStudio |         load: async () => (await import("@fsegurai/codemirror-theme-android-studio")).androidStudio | ||||||
|     }, |     }, | ||||||
| @@ -28,12 +28,12 @@ const themes: ThemeDefinition[] = [ | |||||||
|         load: async () => (await import("@fsegurai/codemirror-theme-andromeda")).andromeda |         load: async () => (await import("@fsegurai/codemirror-theme-andromeda")).andromeda | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|         id: "basicDark", |         id: "basic-dark", | ||||||
|         name: "Basic Dark", |         name: "Basic Dark", | ||||||
|         load: async () => (await import("@fsegurai/codemirror-theme-basic-dark")).basicDark |         load: async () => (await import("@fsegurai/codemirror-theme-basic-dark")).basicDark | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|         id: "basicLight", |         id: "basic-light", | ||||||
|         name: "Basic Light", |         name: "Basic Light", | ||||||
|         load: async () => (await import("@fsegurai/codemirror-theme-basic-light")).basicLight |         load: async () => (await import("@fsegurai/codemirror-theme-basic-light")).basicLight | ||||||
|     }, |     }, | ||||||
| @@ -43,32 +43,32 @@ const themes: ThemeDefinition[] = [ | |||||||
|         load: async () => (await import("@fsegurai/codemirror-theme-forest")).forest |         load: async () => (await import("@fsegurai/codemirror-theme-forest")).forest | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|         id: "githubDark", |         id: "github-dark", | ||||||
|         name: "GitHub Dark", |         name: "GitHub Dark", | ||||||
|         load: async () => (await import("@fsegurai/codemirror-theme-github-dark")).githubDark |         load: async () => (await import("@fsegurai/codemirror-theme-github-dark")).githubDark | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|         id: "githubLight", |         id: "github-light", | ||||||
|         name: "GitHub Light", |         name: "GitHub Light", | ||||||
|         load: async () => (await import("@fsegurai/codemirror-theme-github-light")).githubLight |         load: async () => (await import("@fsegurai/codemirror-theme-github-light")).githubLight | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|         id: "gruvboxDark", |         id: "gruvbox-dark", | ||||||
|         name: "Gruvbox Dark", |         name: "Gruvbox Dark", | ||||||
|         load: async () => (await import("@fsegurai/codemirror-theme-gruvbox-dark")).gruvboxDark |         load: async () => (await import("@fsegurai/codemirror-theme-gruvbox-dark")).gruvboxDark | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|         id: "gruvboxLight", |         id: "gruvbox-light", | ||||||
|         name: "Gruvbox Light", |         name: "Gruvbox Light", | ||||||
|         load: async () => (await import("@fsegurai/codemirror-theme-gruvbox-light")).gruvboxLight |         load: async () => (await import("@fsegurai/codemirror-theme-gruvbox-light")).gruvboxLight | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|         id: "materialDark", |         id: "material-mark", | ||||||
|         name: "Material Dark", |         name: "Material Dark", | ||||||
|         load: async () => (await import("@fsegurai/codemirror-theme-material-dark")).materialDark |         load: async () => (await import("@fsegurai/codemirror-theme-material-dark")).materialDark | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|         id: "materialLight", |         id: "material-light", | ||||||
|         name: "Material Light", |         name: "Material Light", | ||||||
|         load: async () => (await import("@fsegurai/codemirror-theme-material-light")).materialLight |         load: async () => (await import("@fsegurai/codemirror-theme-material-light")).materialLight | ||||||
|     }, |     }, | ||||||
| @@ -88,22 +88,22 @@ const themes: ThemeDefinition[] = [ | |||||||
|         load: async () => (await import("@fsegurai/codemirror-theme-palenight")).palenight |         load: async () => (await import("@fsegurai/codemirror-theme-palenight")).palenight | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|         id: "solarizedDark", |         id: "solarized-dark", | ||||||
|         name: "Solarized Dark", |         name: "Solarized Dark", | ||||||
|         load: async () => (await import("@fsegurai/codemirror-theme-solarized-dark")).solarizedDark |         load: async () => (await import("@fsegurai/codemirror-theme-solarized-dark")).solarizedDark | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|         id: "solarizedLight", |         id: "solarized-light", | ||||||
|         name: "Solarized Light", |         name: "Solarized Light", | ||||||
|         load: async () => (await import("@fsegurai/codemirror-theme-solarized-light")).solarizedLight |         load: async () => (await import("@fsegurai/codemirror-theme-solarized-light")).solarizedLight | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|         id: "tokyoNightDay", |         id: "tokyo-night-day", | ||||||
|         name: "Tokyo Night Day", |         name: "Tokyo Night Day", | ||||||
|         load: async () => (await import("@fsegurai/codemirror-theme-tokyo-night-day")).tokyoNightDay |         load: async () => (await import("@fsegurai/codemirror-theme-tokyo-night-day")).tokyoNightDay | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|         id: "tokyoNightStorm", |         id: "tokyo-night-storm", | ||||||
|         name: "Tokyo Night Storm", |         name: "Tokyo Night Storm", | ||||||
|         load: async () => (await import("@fsegurai/codemirror-theme-tokyo-night-storm")).tokyoNightStorm |         load: async () => (await import("@fsegurai/codemirror-theme-tokyo-night-storm")).tokyoNightStorm | ||||||
|     }, |     }, | ||||||
| @@ -113,12 +113,12 @@ const themes: ThemeDefinition[] = [ | |||||||
|         load: async () => (await import("@fsegurai/codemirror-theme-volcano")).volcano |         load: async () => (await import("@fsegurai/codemirror-theme-volcano")).volcano | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|         id: "vsCodeDark", |         id: "vs-code-dark", | ||||||
|         name: "VS Code Dark", |         name: "VS Code Dark", | ||||||
|         load: async () => (await import("@fsegurai/codemirror-theme-vscode-dark")).vsCodeDark |         load: async () => (await import("@fsegurai/codemirror-theme-vscode-dark")).vsCodeDark | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|         id: "vsCodeLight", |         id: "vs-code-light", | ||||||
|         name: "VS Code Light", |         name: "VS Code Light", | ||||||
|         load: async () => (await import("@fsegurai/codemirror-theme-vscode-light")).vsCodeLight |         load: async () => (await import("@fsegurai/codemirror-theme-vscode-light")).vsCodeLight | ||||||
|     }, |     }, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user