Code Agency

#css

1 article tagged css.

9 min read

Design tokens in Tailwind v4: one palette, every surface

CSS-first config turns Tailwind into a token pipeline: OKLCH variables in, consistent components out. The two-layer setup, the one keyword that makes dark mode work, and the four files where the cascade stops.

design-systemsfrontendcsstailwind