mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
v1.1.20 set --color on <body> and that part worked (verified #000000 on body, html.light present, media query matching). The headings stayed white because the provider mounts a SECOND `<span class="t_dark">` INSIDE <body>: `:root .t_dark` matches body AND that span, so the span re-set --color to #ffffff and every heading inherited from there. The inheritance chain measured html -> body(#000000) -> div -> span.t_dark (#ffffff) -> ... -> h1. Dropping `body` from the selector reaches every Theme wrapper; (0,2,1) still beats `:root .t_dark` (0,2,0). Co-Authored-By: Hanzo Dev <[email protected]>