Add 8 dark themes and 5 accent presets (#101) (#101)

WIP: New themes, new accents.
Reviewed-on: https://codeberg.org/ArkHost/HelixNotes/pulls/101
This commit is contained in:
blake
2026-06-12 09:00:07 +02:00
committed by ArkHost
parent f19c3c2caa
commit 5f311f2404
3 changed files with 216 additions and 3 deletions
+2 -2
View File
@@ -16,8 +16,8 @@
});
function applyTheme(t: string) {
const darkThemes = ['dark', 'solarized-dark', 'catppuccin', 'nord', 'tokyo-night', 'github-dark', 'dracula'];
const namedThemes = ['solarized-light', 'solarized-dark', 'catppuccin', 'nord', 'tokyo-night', 'github-light', 'github-dark', 'dracula'];
const darkThemes = ['dark', 'solarized-dark', 'catppuccin', 'nord', 'tokyo-night', 'github-dark', 'dracula', 'blueberry', 'forest-green', 'gruvbox', 'midnight-tide', 'cherry-blossom', 'synthwave', 'ember', 'moonlit'];
const namedThemes = ['solarized-light', 'solarized-dark', 'catppuccin', 'nord', 'tokyo-night', 'github-light', 'github-dark', 'dracula', 'blueberry', 'forest-green', 'gruvbox', 'midnight-tide', 'cherry-blossom', 'synthwave', 'ember', 'moonlit'];
const root = document.documentElement;
root.classList.remove('dark');
root.removeAttribute('data-theme');