From 41f0549be75aab6a1dd2bd35108e24174b0a2c40 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 22 Mar 2026 19:01:41 +0000 Subject: [PATCH] fix: swap :root and html.dark CSS variable values to match theme semantics Co-authored-by: itziarZG <70289074+itziarZG@users.noreply.github.com> Agent-Logs-Url: https://github.com/itziarZG/me/sessions/ee66b887-a211-40ee-b381-8096d4e0efe8 --- styles/main.css | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/styles/main.css b/styles/main.css index 787a295..7a39466 100644 --- a/styles/main.css +++ b/styles/main.css @@ -9,27 +9,27 @@ :root { --primary: #3b82f6; --primary-light: #60a5fa; - --background: #0a0a0a; - --surface: #171717; - --text-primary: #ffffff; - --text-secondary: #94a3b8; - --border: rgba(255, 255, 255, 0.1); - --accent: #8b5cf6; - --glass-bg: rgba(255, 255, 255, 0.03); - --glass-border: rgba(255, 255, 255, 0.1); -} - -/* Dark mode - when html has class="dark" */ -html.dark { --background: #ffffff; --surface: #f8fafc; --text-primary: #0a0a0a; --text-secondary: #64748b; --border: rgba(0, 0, 0, 0.1); + --accent: #8b5cf6; --glass-bg: rgba(0, 0, 0, 0.03); --glass-border: rgba(0, 0, 0, 0.1); } +/* Dark mode - when html has class="dark" */ +html.dark { + --background: #0a0a0a; + --surface: #171717; + --text-primary: #ffffff; + --text-secondary: #94a3b8; + --border: rgba(255, 255, 255, 0.1); + --glass-bg: rgba(255, 255, 255, 0.03); + --glass-border: rgba(255, 255, 255, 0.1); +} + /* Typography */ body { font-family: