Color Utilities
Control text and background colors with our semantic color system.
Theme Colors
Core semantic colors for your application.
Background colors:
sb-bg-primary
: Primary brand colorsb-bg-secondary
: Secondary brand colorsb-bg-accent
: Accent highlightssb-bg-neutral
: Neutral/base colorsb-bg-error
: Error statessb-bg-warning
: Warning statessb-bg-success
: Success statessb-bg-info
: Information states
Text colors:
sb-primary
: Primary textsb-secondary
: Secondary textsb-accent
: Accent textsb-neutral
: Neutral textsb-error
: Error textsb-warning
: Warning textsb-success
: Success textsb-info
: Info text
Border colors:
sb-border-primary
: Primary border colorsb-border-secondary
: Secondary border colorsb-border-accent
: Accent border colorsb-border-neutral
: Neutral border colorsb-border-error
: Error border colorsb-border-warning
: Warning border colorsb-border-success
: Success border colorsb-border-info
: Info border color
Opacity Variants
Semi-transparent versions of colors.
Theme color opacities:
-25
: 25% opacity-50
: 50% opacity-75
: 75% opacity
Example:
<div class="sb-bg-primary-50">
50% opacity primary background
</div>
Black/White opacities:
sb-bg-black-25
: 25% blacksb-bg-black-50
: 50% blacksb-bg-black-75
: 75% blacksb-bg-white-25
: 25% whitesb-bg-white-50
: 50% whitesb-bg-white-75
: 75% white
Special Values
Additional utility colors.
sb-bg-transparent
: Transparent backgroundsb-bg-black
: Pure blacksb-bg-white
: Pure white