feat: add high-contrast-light theme
This commit is contained in:
@@ -6,6 +6,7 @@ const themes = [
|
|||||||
'catppuccin',
|
'catppuccin',
|
||||||
'solarized',
|
'solarized',
|
||||||
'high-contrast',
|
'high-contrast',
|
||||||
|
'high-contrast-light',
|
||||||
'nord',
|
'nord',
|
||||||
'dracula'
|
'dracula'
|
||||||
] as const;
|
] as const;
|
||||||
|
|||||||
@@ -144,11 +144,21 @@ html.theme-high-contrast {
|
|||||||
--color-outline: white;
|
--color-outline: white;
|
||||||
--color-layer-0: black;
|
--color-layer-0: black;
|
||||||
--color-layer-1: black;
|
--color-layer-1: black;
|
||||||
--color-layer-2: #ababab;
|
--color-layer-2: black;
|
||||||
--color-layer-3: white;
|
--color-layer-3: white;
|
||||||
--color-connection: #fff;
|
--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 {
|
html.theme-nord {
|
||||||
--color-text: #d8dee9;
|
--color-text: #d8dee9;
|
||||||
--color-outline: #4c566a;
|
--color-outline: #4c566a;
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<label
|
<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
|
<input
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
'solarized',
|
'solarized',
|
||||||
'catppuccin',
|
'catppuccin',
|
||||||
'high-contrast',
|
'high-contrast',
|
||||||
|
'high-contrast-light',
|
||||||
'nord',
|
'nord',
|
||||||
'dracula',
|
'dracula',
|
||||||
'custom'
|
'custom'
|
||||||
|
|||||||
Reference in New Issue
Block a user