Commit f64b470
committed
fix(web): move docs CSS import from layer(components) to layer(legacy)
The docs package variables.css sets --background-color: #ffffff in
:where(:root) inside layer(components). Because CSS layer ordering
beats specificity, this always overrode the dark mode variables in
layer(legacy), making the page background permanently white.
Moving the import to layer(legacy) restores normal specificity-based
cascade where [data-theme="dark"] correctly overrides :where(:root).1 parent 4e91481 commit f64b470
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
| |||
0 commit comments