feat: Add a fallback theme to custom themes (#5198)

This commit is contained in:
pajlada
2024-02-24 15:14:49 +01:00
committed by GitHub
parent 86111d59b6
commit 2815c7b67d
4 changed files with 117 additions and 37 deletions
+5
View File
@@ -390,6 +390,11 @@
"$comment": "Determines which icons to use. 'dark' will use dark icons (best for a light theme). 'light' will use light icons.",
"enum": ["light", "dark"],
"default": "light"
},
"fallbackTheme": {
"$comment": "Determines which built-in Chatterino theme to use as a fallback in case a color isn't configured.",
"enum": ["White", "Light", "Dark", "Black"],
"default": "Dark"
}
},
"required": ["iconTheme"]