From b971b1d31b27f6a70e7a220bf780f48966bf1a4e Mon Sep 17 00:00:00 2001 From: puria Date: Wed, 24 Jan 2024 18:25:31 +0100 Subject: [PATCH] fix: dark and light variables --- src/global/global.css | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/global/global.css b/src/global/global.css index b487f69..dea2e82 100644 --- a/src/global/global.css +++ b/src/global/global.css @@ -13,26 +13,26 @@ --on-accent: #dbd7cb; --status-bar: #000000; } -} -.dark { - --tab: #223360; - --surface: #4e5c80; - --primary: #223360; - --on-primary: #f7faff; - --on-primary-2: #b0b0b9; - --accent: #dbd7cb; - --on-accent: #223360; - --status-bar: #ffffff; -} + .dark { + --tab: #223360; + --surface: #4e5c80; + --primary: #223360; + --on-primary: #f7faff; + --on-primary-2: #b0b0b9; + --accent: #dbd7cb; + --on-accent: #223360; + --status-bar: #ffffff; + } -@media (prefers-color-scheme: dark) { - --tab: #223360; - --surface: #4e5c80; - --primary: #223360; - --on-primary: #f7faff; - --on-primary-2: #b0b0b9; - --accent: #dbd7cb; - --on-accent: #223360; - --status-bar: #ffffff; + @media (prefers-color-scheme: dark) { + --tab: #223360; + --surface: #4e5c80; + --primary: #223360; + --on-primary: #f7faff; + --on-primary-2: #b0b0b9; + --accent: #dbd7cb; + --on-accent: #223360; + --status-bar: #ffffff; + } }