Modifiers
Color and background
Foreground and background colors with static and semantic variants.
Both modifiers accept either a concrete color.Color or a semantic color
sentinel. Semantic sentinels are resolved against the active theme at
render time.
Static colors
Fixed RGBA values that do not adapt to theme:
Semantic colors
Theme-resolved values. Use these when you want the color to flip under dark mode automatically:
The sentinel values are plain color.Color instances, so the modifier
signature stays any; the renderer detects them and looks up the theme
entry, falling back to sensible defaults if none is configured.
Hex literals
For one-off static colors pick via hex:
Hex returns a color.Color. An invalid or wrong-length string returns
opaque black (no panic).