mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-29 19:12:27 +08:00
feat(code): provide sensible theme defaults
This commit is contained in:
parent
34a1f48a9e
commit
bd26e1a578
@ -142,9 +142,12 @@ const defaultOptions: DefaultOption[] = [
|
||||
value: (optionsMap) => {
|
||||
switch (optionsMap.theme) {
|
||||
case "light":
|
||||
case "next-light":
|
||||
return "default:vs-code-light";
|
||||
case "dark":
|
||||
case "next-dark":
|
||||
default:
|
||||
return "default:abyss";
|
||||
return "default:vs-code-dark";
|
||||
}
|
||||
},
|
||||
isSynced: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user