From cdb48662961ef567fc0ed8c32eecaccb481dfe1c Mon Sep 17 00:00:00 2001 From: Xevion Date: Sun, 18 Dec 2022 03:21:37 -0600 Subject: [PATCH] Apply color-scheme attribute w/ dark mode --- src/styles/globals.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/styles/globals.scss b/src/styles/globals.scss index aad3c97..937b1eb 100644 --- a/src/styles/globals.scss +++ b/src/styles/globals.scss @@ -51,4 +51,9 @@ body { .left { @apply fill-[#ad8d6c] dark:fill-[#a3805c]; } .right {@apply fill-[#8f704e] dark:fill-[#876A4A];} .text { @apply fill-white; } +} + +:root { color-scheme: light; } +.dark { + color-scheme: dark; } \ No newline at end of file