Put color-scheme CSS property in root

This commit is contained in:
Helen Chong 2024-10-26 08:37:25 +08:00
parent b0ea2c5ee4
commit 6618eca772
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
html { color-scheme: light dark; }
:root { :root {
color-scheme: light dark;
--clr-body-bg: light-dark(#e4e3e3, #141414); --clr-body-bg: light-dark(#e4e3e3, #141414);
--clr-body-txt: light-dark(#141414, #fff); --clr-body-txt: light-dark(#141414, #fff);
--clr-content-bg: light-dark(#ffffff, #242424); --clr-content-bg: light-dark(#ffffff, #242424);