mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 22:05:44 +01:00
feat(theme): start implementing a theme for TriliumNext
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user