Theme tokens and styling guidance for Nusa UI.
Nusa UI uses Tailwind CSS v4 with semantic tokens. Prefer foreground, background, border, and muted variables over raw palette values.
Tokens
bg-backgroundandtext-foregroundfor page surfacesbg-cardandtext-card-foregroundfor panelstext-muted-foregroundfor secondary copyborder-borderfor structural borders
Rules
- Use
gap-*instead ofspace-* - Use
size-*when width and height match - Use
cn()for conditional Tailwind class merging