-
julesforrest Here's a quick codepen demo, hopefully it communicates the basics: codepen.io/mirisuzanne/pen/vYNgodb?editors=1100 My site uses that concept in various ways, but my favorite is: fill: var(--mia-svg-eyes, var(--mia-svg-fill, currentColor)); Used to keep my svg eyes from glowing in dark mode…
-
julesforrest For cascading-colors.netlify.app/ we use it to make sure every setting has a default
config
, allows pre-definedtheme
s, and then acceptsuser
overrides from JS.