From e58cbb9e75e97448f88d0fe2eccc8a45cd980394 Mon Sep 17 00:00:00 2001 From: Eddy Naboulet <93473191+eddy-naboulet@users.noreply.github.com> Date: Sat, 15 Aug 2026 20:52:46 +0200 Subject: [PATCH] fix(web): restore dark theme palette (#6663) Co-authored-by: maria --- apps/web/src/index.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/web/src/index.css b/apps/web/src/index.css index f7b93e104b7dccc2f69abd508fb910b91aaea746..fea03489b7fa8898f1b0eb2ca72026182a0f156d 100644 --- a/apps/web/src/index.css +++ b/apps/web/src/index.css @@ -1173,8 +1173,10 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil compatibility overrides so both navigation implementations receive the same palette. Success, info, provider, and channel identity colors remain independent; error, warning, and update roles are themeable below. */ -html[data-theme-id], -html.dark[data-theme-id] { + +/* The non-empty marker adds enough specificity to outrank the generated root + dark variant without reintroducing raw `.dark` selectors. */ +html[data-theme-id]:not([data-theme-id=""]) { --background: var(--app-theme-canvas); --app-chrome-background: var(--app-theme-chrome); --toolbar-background: var(--app-theme-toolbar); -- 2.54.0