←
Lea Verou Dev Tweets4,428 posts
Lea Verou Dev Tweets avatar

Lea Verou Dev Tweets

@LeaVerouDev

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.

◷ Joined July 2013
Lea Verou, PhD avatar
⟳ Lea Verou Dev Tweets retweeted
Lea Verou, PhD@LeaVerou·Nov 10

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!

Post attachment

Left to their own devices, AI coding agents will happily write 100 lines of custom JavaScript for something modern HTML and CSS can do natively in a few lines. Today, in partnership with @FirefoxWebDevs, @MozDevNet, and @MSEdgeDev, we're releasing Modern Web Guidance 1.0 with 200+ expert guides and Baseline support → goo.gle/4k8GmBE

0:04
Lea Verou, PhD avatar
⟳ Lea Verou Dev Tweets retweeted
Lea Verou, PhD@LeaVerou·Oct 12

🔥 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? lea.verou.me/blog/2026/icons…

shadcn avatar
⟳ Lea Verou Dev Tweets retweeted
shadcn@shadcn·Oct 11

Abstractions

What are some coding tasks that AI is still really bad at?

Paul Irish avatar
⟳ Lea Verou Dev Tweets retweeted
Paul Irish@paul_irish·Oct 8

This is hot. (and nice live specimen harness!) We've been building a broader take on this for ~10mo w/ github.com/GoogleChrome/mode… 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 :)

Lea Verou, PhD avatar
⟳ Lea Verou Dev Tweets retweeted
Lea Verou, PhD@LeaVerou·Sep 14

🎨 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¹: github.com/web-platform-test… 👍 Upvote the GitHub issue if you want this fixed in browsers! ¹ Spoiler alert: it’s the lack of gamut mapping

Post attachment
Kazden avatar
⟳ Lea Verou Dev Tweets retweeted
Kazden@kazdenc·Sep 11

astra is really good at svgs gave it a few grid and stroke constraints and told it to go to town on an svg icon set, not bad:

Post attachment
Dan Mall avatar
⟳ Lea Verou Dev Tweets retweeted
Dan Mall@danmall·Sep 9

changes the meaning of “above the fold”

Post attachment
Cameron Moll avatar
⟳ Lea Verou Dev Tweets retweeted
Cameron Moll@cameronmoll·Sep 10

Smart. iPhone Duo shifts to a dual layout when slightly creased like a book.

0:17
dotJS avatar
⟳ Lea Verou Dev Tweets retweeted
dotJS@dotJS·Sep 9

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. 🟡 dotjs.io

Post attachment
Lea Verou, PhD avatar
⟳ Lea Verou Dev Tweets retweeted
Lea Verou, PhD@LeaVerou·Sep 5

THIS. In fact, the average code quality I get from @claudeai is better than at least 99.9% of pre-AI human devs in my experience.

"You don’t need a scientific study to realize the mean quality of human-authored software leaned towards slop even before AI was around. How many times have you been frustrated by an app or website that just didn’t work right?" abeautifulsite.net/posts/mos…

Lea Verou, PhD avatar
⟳ Lea Verou Dev Tweets retweeted
Lea Verou, PhD@LeaVerou·Sep 2

🔥 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. lea.verou.me/blog/2026/dark-…

Lea Verou, PhD avatar
⟳ Lea Verou Dev Tweets retweeted
Lea Verou, PhD@LeaVerou·Aug 6

🔥 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. lea.verou.me/blog/2026/dark-… PS: As a data point, @jaffathecake was converted after reading this 😅

Post attachment
Lea Verou, PhD avatar
⟳ Lea Verou Dev Tweets retweeted
Lea Verou, PhD@LeaVerou·Aug 4

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 github.com/LeaVerou/blog/dis… 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?

Post attachmentPost attachmentPost attachment