Overview
Use background color utilities for surfaces, panels, and status-driven fills.
Semantic tokens also support
.background-{token}-l-5 through .background-{token}-d-5; hex steps match the Color Palette.
Examples
Usage Notes
Classes setbackground-color. Structural fills support layouts, while semantic tokens match Colors. Shade steps use background-{token}-l-5 … background-{token}-d-5 on semantic tokens only.
Best practices
- Default to white / gray-light for content; use saturated semantic fills when the meaning fits.
- Pair strong backgrounds with white or black text (or a verified contrast-safe class).
Related utilities
Text Colors
Text colors
Border Colors
Border colors

