Commit d86d578
committed
🐛 fix(home): add !important + direct .md-typeset fallback to force text visibility
Previous attempts used :root / [data-md-color-scheme] selectors without
!important, but MkDocs Material's internal CSS variable resolution chain
(built into the 200KB+ main bundle) resolves --md-typeset-color after our
extra.css loads, overriding all previous values.
This fix adds:
1. !important on all --md-* color variables
2. Direct .md-typeset { color: #a0a0b8 !important } as element-level fallback
bypassing the entire CSS variable resolution chain1 parent f63c795 commit d86d578
1 file changed
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | | - | |
46 | | - | |
47 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
48 | 55 | | |
49 | 56 | | |
50 | 57 | | |
| |||
0 commit comments