Is there a good reason why we're defining global custom properties on :root/html and not on body?
[css-pseudo] Custom properties on :root · Issue #6641 · w3c/csswg-drafts

It's a common pattern to define all the primitives in your style guide as "global" (/ attempted global) custom properties on :root, e.g. :root { --pale-blue: <etc>; --light-blue: <etc>; /* ... hund...

GitHub