I honestly hadn’t thought about “getting caught” by light-dark() — particularly when leaning heavily on it for this site — but @tempertemper explains the user and rendering considerations, making me reflect on my choices as well.
A classic "a-ha!" from @kevinpowell, this one to help distinguish where style queries make sense and where modifiers are still a good approach.
css-tricks.com/css-style-quer…
Special day — @Malarkey's new book is officially released... and you can wish him a happy birthday as well!
Here's a little interview with him about the book:
It may be Baseline Limited Availability right now, but it's a good time to brush up on scroll-state() — and @StoryKaboom awesomely explains it with a ton of (Chrome-only) demos, both practical and, yes, ✨tricky✨
My advice is to re-evaluate those prior decisions and invest saved costs back into developing your workers instead, while there's still a hope of them not burning out completely. Make sure you include your workers in these decisions and discuss the impacts of mandates on them. It's important for you to understand the impact of these sort of decisions."
—Andy Bell