tailwind
Build a Design System in Laravel: Tailwind v4 Tokens, Blade Components and a Docs Page
The same button exists eleven times with eight different paddings and nobody can say which is correct. This is the complete build that fixes it: CSS-first tokens, typed Blade components with enum variants, deliberate class merging, a components page that generates itself, and the tests that stop the whole thing rotting.
21 min read →