Mode sombre : palette d'Up And Down

Jetons sombres alignés sur upandown (bg #0f1218, panel #171b24,
panel-2 #1e2330, hover #222838, bordure #2a3042, accent #6e9bff).
Le canevas Excalidraw garde son propre thème ; mode clair inchangé.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LNfwm55eC2fDs4xBddm2wG
This commit is contained in:
claudeandClaude Opus 5.5 committed 2026-11-20 11:44:33 +00:00
1 parent d1c3490d69
commit d7d01e9c1f
1 file changed
+24 -19
+24 -19
View File
@@ -47,25 +47,30 @@
} }
:root[data-theme="dark"] { :root[data-theme="dark"] {
--ex-island: #232329; /* Palette sombre reprise d'Up And Down (frontend/src/styles.css) :
--ex-canvas: #121212; bg #0f1218, panel #171b24, panel-2 #1e2330, hover #222838, border #2a3042,
--ex-surface-lowest: hsl(0 0% 7%); accent #6e9bff. Le canevas Excalidraw garde son propre thème. */
--ex-surface-low: hsl(240 8% 15%); --ex-island: #171b24; /* panel */
--ex-surface-mid: hsl(240 6% 10%); --ex-canvas: #0f1218; /* bg */
--ex-surface-high: hsl(245 10% 21%); --ex-surface-lowest: #171b24; /* tuiles, champs */
--ex-on-surface: #e3e3e8; --ex-surface-low: #1e2330; /* panel-2 : boutons */
--ex-primary: #a8a5ff; --ex-surface-mid: #1e2330; /* zone d'icône des tuiles */
--ex-brand-hover: #bbb8ff; --ex-surface-high: #222838; /* hover */
--ex-brand-active: #d0ccff; --ex-on-surface: #e6e9f2;
--ex-primary-container: #403e6a; --ex-primary: #6e9bff;
--ex-on-primary-container: #e0dfff; --ex-brand-hover: #8cb0ff;
--ex-outline: #8e8d9c; --ex-brand-active: #a9c4ff;
--ex-outline-variant: #46464f; --ex-primary-container: #22325a; /* accent-soft */
--ex-gray-20: hsl(245 10% 21%); --ex-on-primary-container: #6e9bff;
--ex-muted: #999999; --ex-outline: #8e95aa;
--ex-danger: #ffa8a8; --ex-outline-variant: #2a3042;
--ex-danger-bg: #5a0000; --ex-gray-20: #2a3042; /* border */
--ex-scrollbar: #343a40; --ex-muted: #8e95aa;
--ex-danger: #ff8787;
--ex-danger-bg: #4a1d1d;
--ex-scrollbar: #2a3042;
--ex-shadow-island: 0 1px 2px rgb(0 0 0 / 0.4), 0 4px 14px rgb(0 0 0 / 0.3);
--ex-shadow-modal: 0 20px 50px rgb(0 0 0 / 0.6);
--ok: #69db7c; --ok: #69db7c;
--warn: #ffa94d; --warn: #ffa94d;
color-scheme: dark; color-scheme: dark;