From 35fc22af6564a73ea8a1194c5eeb0810a01eb303 Mon Sep 17 00:00:00 2001 From: Sergei Sergienko Date: Thu, 2 May 2024 22:19:42 +0300 Subject: [PATCH] fix: Remove light theme --- index.html | 2 +- src/assets/base.css | 32 ++++++++++++++++---------------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/index.html b/index.html index 02fede5..bc110c4 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - + Rotation Converter diff --git a/src/assets/base.css b/src/assets/base.css index a2904c8..40f3274 100644 --- a/src/assets/base.css +++ b/src/assets/base.css @@ -35,30 +35,30 @@ /* semantic color variables for this project */ :root { - --color-background: var(--c-light-0); - --color-background-soft: var(--c-light-1); - --color-background-mute: var(--c-light-2); + --color-background: var(--c-dark-1); + --color-background-soft: var(--c-dark-2); + --color-background-mute: var(--c-dark-3); - --color-border: var(--c-divider-light-2); - --color-border-hover: var(--c-divider-light-1); + --color-border: var(--c-divider-dark-2); + --color-border-hover: var(--c-divider-dark-1); - --color-heading: var(--c-text-light-1); - --color-text: var(--c-text-light-1); + --color-heading: var(--c-text-dark-1); + --color-text: var(--c-text-dark-2); } -@media (prefers-color-scheme: dark) { +/* @media (prefers-color-scheme: light) { :root { - --color-background: var(--c-dark-1); - --color-background-soft: var(--c-dark-2); - --color-background-mute: var(--c-dark-3); + --color-background: var(--c-light-0); + --color-background-soft: var(--c-light-1); + --color-background-mute: var(--c-light-2); - --color-border: var(--c-divider-dark-2); - --color-border-hover: var(--c-divider-dark-1); + --color-border: var(--c-divider-light-2); + --color-border-hover: var(--c-divider-light-1); - --color-heading: var(--c-text-dark-1); - --color-text: var(--c-text-dark-2); + --color-heading: var(--c-text-light-1); + --color-text: var(--c-text-light-1); } -} +} */ *, *::before,