feat(theme): start implementing a theme for TriliumNext

This commit is contained in:
Elian Doran
2024-11-22 20:09:32 +02:00
parent 79b31bda76
commit 7cb9671fe3
4 changed files with 6 additions and 2 deletions

View File

@@ -54,6 +54,8 @@ function getThemeCssUrl(theme: string) {
return false; // light theme is always loaded as baseline
} else if (theme === 'dark') {
return `${assetPath}/stylesheets/theme-dark.css`;
} else if (theme === "next") {
return `${assetPath}/stylesheets/theme-next.css`;
} else {
const themeNote = attributeService.getNoteWithLabel('appTheme', theme);