feat: add high-contrast-light theme

This commit is contained in:
2026-02-09 16:04:17 +01:00
parent 46202451ba
commit 21d0f0da5a
4 changed files with 14 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ const themes = [
'catppuccin',
'solarized',
'high-contrast',
'high-contrast-light',
'nord',
'dracula'
] as const;

View File

@@ -144,11 +144,21 @@ html.theme-high-contrast {
--color-outline: white;
--color-layer-0: black;
--color-layer-1: black;
--color-layer-2: #ababab;
--color-layer-2: black;
--color-layer-3: white;
--color-connection: #fff;
}
html.theme-high-contrast-light {
--color-text: black;
--color-outline: black;
--color-layer-0: white;
--color-layer-1: white;
--color-layer-2: white;
--color-layer-3: black;
--color-connection: black;
}
html.theme-nord {
--color-text: #d8dee9;
--color-outline: #4c566a;

View File

@@ -18,7 +18,7 @@
</script>
<label
class="relative inline-flex h-5.5 w-5.5 cursor-pointer items-center justify-center bg-layer-2 rounded-[5px]"
class="relative inline-flex h-5.5 w-5.5 cursor-pointer items-center justify-center bg-layer-2 outline-1 outline-outline rounded-[5px]"
>
<input
type="checkbox"

View File

@@ -6,6 +6,7 @@
'solarized',
'catppuccin',
'high-contrast',
'high-contrast-light',
'nord',
'dracula',
'custom'