This twitter account is not operated by Lea Verou. It retweets all of Lea's dev stuff! Follow her directly (@LeaVerou) to read her views on non dev stuff too.
I’ve been sitting on this for months, and it’s finally time to release it to the world.
Bundlers are currently the only way to use dependencies without losing our sanity, but introduce complexity and overhead.
Today, @DmitrySharabin and I are releasing a new type of lightweight build tool that provides a simpler alternative when all you need is dependency management.
Nudeps: bundler-like imports, none of the baggage
https://t.co/XAFu4zgo7K
After a 2 year break, I’m running for the @w3ctag again!
My candidate statement is here: https://t.co/dm9ghTgdy4
If you work for a company that is a W3C Member¹, please consider encouraging your AC rep to vote for me!
(Ask me if you don't know who that is)
¹ https://t.co/uM077xUkfI
It’s not every day that you see a project you’ve worked on featured on the Google homepage!
A lot of work has gone into this release, from many people who deeply care about the Web. It helps with performance, a11y, security, and state of the art web tech.
Install it and give us feedback!
🔥 New blog post: The best way to use icons in Web UIs
What if I told you, you could use CSS to *insert* and *tweak* icons without touching any HTML?
And that you can manage them alongside your other design tokens?
https://t.co/E8Q0FabRmC
This is hot. (and nice live specimen harness!)
We've been building a broader take on this for ~10mo w/ https://t.co/2HKc6qxCcv covering nearly all of these CSS primitives plus 200 more guides across DOM, forms, perf, a11y.
To keep it token-efficient we cull all the stuff that models know by default, and then vector search (all local) to pull just the relevant guide. Evals too, ofc. yadda yadda.
Anyway. I think you may like it. (And I like what you got here too :)
🎨 Ever wondered why oklch() is so odd?
Why adjusting L doesn't produce good color ramps?
And why TF is L=100% not white?!?
I just wrote a thorough explanation of why this happens¹: https://t.co/CIejUBmdY9
👍 Upvote the GitHub issue if you want this fixed in browsers!
¹ Spoiler alert: it’s the lack of gamut mapping
Big hello to Lea Verou who will be on stage at dotJS! 🙌
@LeaVerou will be speaking about: No-build: pipe dream, or near future?
Almost every JS dev uses bundlers. Few actually like it. The mavericks who try to go no-build learn the hard way why it's still fringe. Are we stuck with bundlers forever, or is there light at the end of the tunnel (and is that light an oncoming train)? Lea takes a pragmatic look at what drives bundler usage, how well the web platform addresses those needs today and in the near future, what's still missing for no-build architectures to become viable, and whether AI changes the equation.
Lea has been improving the Web for nearly two decades. In her 14 years in the CSS WG, she designed many features you use daily. As a twice-elected W3C TAG member, she helped document the Web's Design Principles. She's also a TC39 delegate and WHATWG contributor, and in 2025 was awarded Pathfinder for Standards by the OpenJS Foundation for her overall work and impact. She holds a PhD from MIT, where she spent a decade researching and teaching at the intersection of usability, design, and web technologies.
Catch Lea live at dotJS.
🟡 https://t.co/pehPvtvHH0
🔥 New blog post: “The best dark mode toggle is probably none”
My post on two-state dark mode toggles made the rounds. But should you have a (persistent) dark mode toggle at all?
I have since been convinced that for most websites, the answer is no.
https://t.co/6a3mMoCIQ0
🔥 New blog post: Dark mode toggles that expose three visible states (system, light, dark) seem like the best option.
Until you think about user goals, that is.
Before rushing to disagree, hear me out.
https://t.co/IKECNVT5EA
PS: As a data point, @jaffathecake was converted after reading this 😅
I had to edit the description and restart the poll because apparently EVERYONE misunderstood what this is asking.
These are the only transitions that are in scope for YES:
✅ System (dark) → dark
✅ System (light) → light
NOT:
❌ System (dark) → light
❌ System (light) → dark
❌ light → *
❌ dark → *
Also NOT:
❌ "[Other people] do this" I'm asking about YOU
❌ "I like three states for testing" I'm asking about YOU as a user. Debugging was explicitly out of scope.
❌ "By mistake" This is about intentional use
📊 For websites that use a tri-state dark mode toggle (system, light, dark), have you EVER clicked on the override that matches your current system theme?
E.g. going from System to Light on a light OS (which produces no visible change).
Experimentation aside obvs.
Poll at https://t.co/IgDjnTQdME
If the answer is yes, do tell me more! What was your thinking at the time? What were you trying to achieve? What made you seek the toggle in the first place if the website already looked fine?
Yup, this tracks.
Just like those in the 90s who were against the Web and if you asked them about their experiences with the Web they were always minimal to none.
If declarations in conditionals were possible ( @TC39 proposal being discussed right now!) what would you expect this to log?
let foo = 1;
if (let foo = 0) { console.log(foo) }
else { console.log(foo) }
Don't think too hard.