From 7ce5815a96ac1a7b9694700176fa8e50fa4fe612 Mon Sep 17 00:00:00 2001 From: "wkylin.w@gmail.com" Date: Fri, 17 Jan 2025 14:28:51 +0800 Subject: [PATCH] fix: css --- src/styles/reset.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/styles/reset.css b/src/styles/reset.css index bcc9effa..98bd292e 100644 --- a/src/styles/reset.css +++ b/src/styles/reset.css @@ -3,6 +3,24 @@ @tailwind components; @tailwind utilities; +:root { + --background: #fff; + --foreground: #171717; +} + +@media (prefers-color-scheme: dark) { + :root { + --background: #0a0a0a; + --foreground: #ededed; + } +} + +/* body { + color: var(--foreground); + background: var(--background); + font-family: Arial, Helvetica, sans-serif; +} */ + html, body { height: 100%;