From 262a99d5ddeafbb192a574c7c91781f25a0de8a8 Mon Sep 17 00:00:00 2001 From: Jalil Arfaoui Date: Mon, 16 Mar 2026 22:05:40 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20footer=20/code=20en=20dark=20mode=20:=20f?= =?UTF-8?q?ond=20violet=20fonc=C3=A9,=20langue=20courante=20lisible=20en?= =?UTF-8?q?=20blanc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/main.astro | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/layouts/main.astro b/src/layouts/main.astro index f5027a7..8d54ace 100644 --- a/src/layouts/main.astro +++ b/src/layouts/main.astro @@ -121,6 +121,30 @@ const locale = pathname.startsWith("/en") [data-facet="code"] > footer button { color: var(--facet-color) !important; } + + .dark [data-facet="code"] > footer { + background-color: rgba(30, 10, 45, 0.95) !important; + border-color: rgba(75, 24, 98, 0.5) !important; + } + + .dark [data-facet="code"] > footer, + .dark [data-facet="code"] > footer p, + .dark [data-facet="code"] > footer svg, + .dark [data-facet="code"] > footer button { + color: rgba(255, 255, 255, 0.6) !important; + } + + .dark [data-facet="code"] > footer a { + color: rgba(255, 255, 255, 0.5) !important; + } + + .dark [data-facet="code"] > footer a:hover { + color: white !important; + } + + .dark [data-facet="code"] > footer .language-switcher .font-semibold { + color: white !important; + }