style: add color-scheme for light and dark themes

This commit is contained in:
2026-06-05 16:23:50 +02:00
committed by Milas Holsting
parent e235f36a45
commit 41be0fc923

View File

@@ -57,6 +57,14 @@
--radius: 0px;
}
html[data-theme="light"] {
color-scheme: light;
}
html[data-theme="dark"] {
color-scheme: dark;
}
html,
body {
background-color: var(--color-background);