diff --git a/assets/uts-layout.xsl b/assets/uts-layout.xsl index 737b9f0..ccdcfd2 100644 --- a/assets/uts-layout.xsl +++ b/assets/uts-layout.xsl @@ -13,6 +13,7 @@ + @@ -37,7 +38,7 @@ - +
- +
@@ -70,4 +71,4 @@ - \ No newline at end of file + diff --git a/bun/uts-style.css b/bun/uts-style.css index 4c3a236..575a1ee 100644 --- a/bun/uts-style.css +++ b/bun/uts-style.css @@ -79,7 +79,7 @@ body { } } -:root, + :root[data-applied-mode="light"] { color-scheme: light; --uts-text: black; @@ -91,17 +91,18 @@ body { /* #f4ecd9; */ } +:root, :root[data-applied-mode="dark"] { color-scheme: dark; - --uts-text: #d5d4d0; - --uts-link: #d5d4d0; + --uts-text: #cbd1db; + --uts-link: #cbd1db; --uts-text-gentle: rgb(174, 174, 174); --uts-text-cite: #8cd295; - --uts-background: #262626; + --uts-background: #151a1f; --uts-vocab: #db8c84; } -body { +:root { background-color: var(--uts-background) !important; }