Semantic color
Role-based tokens keep surfaces, text, borders, and actions consistent across themes.
src/styles.css- Use when
- Styling any interface color.
- Accessibility
- Pair foreground and background roles; do not reduce muted text opacity.
- Performance
- CSS variables change theme without rerendering the component tree.
className="bg-background text-foreground border-border"