mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	feat(server): define code note theme option
This commit is contained in:
		| @@ -137,6 +137,18 @@ const defaultOptions: DefaultOption[] = [ | ||||
|  | ||||
|     // Appearance | ||||
|     { name: "splitEditorOrientation", value: "horizontal", isSynced: true }, | ||||
|     { | ||||
|         name: "codeNoteTheme", | ||||
|         value: (optionsMap) => { | ||||
|             switch (optionsMap.theme) { | ||||
|                 case "light": | ||||
|                 case "dark": | ||||
|                 default: | ||||
|                     return "default:abyss"; | ||||
|             } | ||||
|         }, | ||||
|         isSynced: false | ||||
|     }, | ||||
|  | ||||
|     // Internationalization | ||||
|     { name: "locale", value: "en", isSynced: true }, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user