Skip to content

Commit e58cbb9

Browse files
fix(web): restore dark theme palette (#6663)
Co-authored-by: maria <maria@kuuro.net>
1 parent a5e29ed commit e58cbb9

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

apps/web/src/index.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1173,8 +1173,10 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil
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);

0 commit comments

Comments
 (0)