History

fix(web): restore dark theme palette (#6663)

Eddy Naboulet committed 2 months ago

Commit e58cbb91 parent a5e29ed1 file · +4 −2Browse files

Unified · Split

apps/web/src/index.css+4−2
@@ -1173,8 +1173,10 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil · 1172 unmodified lines
11731173 compatibility overrides so both navigation implementations receive the
11741174 same palette. Success, info, provider, and channel identity colors remain
11751175 independent; error, warning, and update roles are themeable below. */
1176−html[data-theme-id],
1177−html.dark[data-theme-id] {
1176+
1177+/* The non-empty marker adds enough specificity to outrank the generated root
1178+ dark variant without reintroducing raw `.dark` selectors. */
1179+html[data-theme-id]:not([data-theme-id=""]) {
11781180 --background: var(--app-theme-canvas);
11791181 --app-chrome-background: var(--app-theme-chrome);
11801182 --toolbar-background: var(--app-theme-toolbar);