UI styling
The colors, type, and layout rules that make a user interface consistent, with tools such as Tailwind or StyleX.
UI styling is the set of colors, type, spacing, and layout rules that make an interface consistent. Tailwind and StyleX are examples of systems that put those rules in code, one with utility classes and one with typed, compile-time styles. The system you choose matters less than whether the whole app actually uses it.
Pick a styling system the way you pick any constraint: it should be easy to apply in a common case, hard to accidentally break, and possible to theme. Utilities are fast for new screens and can become noisy if there is no shared layer of components. A compiled system is stricter and can be a better fit for a design system that many people, or agents, will extend.
Keep a short token list — ink, paper, accent, a few sizes — and avoid one-off values. If an agent is writing UI, give it the tokens and the components, and reject styles that invent a new palette. Review the output visually on a phone and a wide window.
Styling is not design, but it is how design survives in the repo. A beautiful mock that cannot be expressed in the system will not ship cleanly.