aboutsummaryrefslogtreecommitdiff
path: root/frontend/scss/main.scss
diff options
context:
space:
mode:
authorWilliam Hergès <william@herges.fr>2025-10-04 20:15:28 +0200
committerWilliam Hergès <william@herges.fr>2025-10-04 20:15:28 +0200
commitb816fd4acf78de278dc254ffe264cacc83f67352 (patch)
tree96f5b928c87ba85937b191e6cbcba65b0793953a /frontend/scss/main.scss
parentad62bd3ed2660d0691aeff1ecb11c5997f901a75 (diff)
feat(frontend): light theme
Diffstat (limited to 'frontend/scss/main.scss')
-rw-r--r--frontend/scss/main.scss8
1 files changed, 8 insertions, 0 deletions
diff --git a/frontend/scss/main.scss b/frontend/scss/main.scss
index 9ea2548..dc9283f 100644
--- a/frontend/scss/main.scss
+++ b/frontend/scss/main.scss
@@ -10,6 +10,14 @@
--color-rose: #F2B5D4; /* link accent */
--color-light-rose: hsl(330, 55%, 70%, 0.2); /* link accent hover and highlight */
+ @media (prefers-color-scheme: light) {
+ --color-dark: #dbf6f6;
+ --color-light: hsl(202, 25%, 9%);
+ --color-gray: #433b42; /* quote and legend */
+ --color-rose: #b62f74; /* link accent */
+ --color-light-rose: hsla(330, 86%, 67%, 0.2); /* link accent hover and highlight */
+ }
+
--font-size-tiny: 0.85rem; /* quote, legend, code */
--line-height: 1.75em;
--line-height-smaller: 1.4em; /* titles, nav links */