From 6618eca7726b0725687c693db6ccdd260393d0f1 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Sat, 26 Oct 2024 08:37:25 +0800 Subject: [PATCH] Put color-scheme CSS property in root --- src/assets/css/cassettebeasts.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/assets/css/cassettebeasts.css b/src/assets/css/cassettebeasts.css index 3eab743e..8303fe8f 100644 --- a/src/assets/css/cassettebeasts.css +++ b/src/assets/css/cassettebeasts.css @@ -1,6 +1,6 @@ -html { color-scheme: light dark; } - :root { + color-scheme: light dark; + --clr-body-bg: light-dark(#e4e3e3, #141414); --clr-body-txt: light-dark(#141414, #fff); --clr-content-bg: light-dark(#ffffff, #242424);