TIL: relative colours in #CSS. You define an origin colour, and then modify (with the magic r/g/b/alpha variables for rgb) or override the values. Supported in all major browsers now (except Firefox for Android): https://caniuse.com/css-relative-colors
Example: Use the primary colour, but make it transparent and reduce how green it is:
rgb(from var(--primary-colour) r calc(g/2) b / calc(alpha * 0.5))
Related: Is there something like a caniuse.com newsfeed that tells me when a feature has become supported by all major browsers (or, ideally, supported by major browsers for a month, half a year, a year …)?
Imagine if web.dev, the web development blog by the Chrome team, had the latest coolest tech like … RSS feeds for their blog. Then you could just subscribe to https://web.dev/series/baseline-newly-available and get notified about newly availble CSS features …
(To add insult to injury, they load their list of blog posts via JS, so you can't even point a good feed reader at the /blog/ page and have it scrape for new posts. Eww.)
@rixx Darn, I’d have expected better from a surveillance capitalist.
@aral Yeah uh thank you for that contribution, very helpful, amaze
@rixx Cool, cool.