Moved this blog onto a shadcn monorepo today. The surprising part was how little the components cared: swap the colour and type tokens and the whole site changes personality.
Spent longer choosing a serif than writing code. No regrets.
Short things, written the same day: what I noticed, learnt, read or walked past.
Moved this blog onto a shadcn monorepo today. The surprising part was how little the components cared: swap the colour and type tokens and the whole site changes personality.
Spent longer choosing a serif than writing code. No regrets.
Two colours with the same L value in OKLCH really do look equally light. In HSL they do not. That alone makes a dark mode far less fiddly to tune.
--highlight: oklch(0.685 0.169 237); /* dark mode links */
Early start, worth it.

Still the best free guide to making text look good on a screen. If you read nothing else, read the summary page.
Three bugs this week turned out to be the same time zone bug wearing different hats.
A placeholder round-up of the week, the kind of thing that goes here:
Like cd -, it jumps back to the branch you were on before. Small thing, used it ten times already.
git switch -
A handful of layout primitives that cover almost every page I build. Reading it changed how I write CSS.