From b816fd4acf78de278dc254ffe264cacc83f67352 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Sat, 4 Oct 2025 20:15:28 +0200 Subject: feat(frontend): light theme --- frontend/scss/main.scss | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'frontend/scss/main.scss') 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 */ -- cgit v1.2.3