terribleMia’s avatarterribleMia’s Twitter Archive—№ 7,659

  1. …in reply to @julesforrest
    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…
    1. …in reply to @TerribleMia
      julesforrest For cascading-colors.netlify.app/ we use it to make sure every setting has a default config, allows pre-defined themes, and then accepts user overrides from JS.