Sugarcoat UI uses a semantic color system that automatically adapts to light and dark themes.
Semantic Colors#
Foreground Colors#
| Token | Description |
|---|---|
fg.default | Primary text color |
fg.muted | Secondary/muted text |
fg.subtle | Tertiary text |
Background Colors#
| Token | Description |
|---|---|
bg.canvas | Page background |
bg.subtle | Subtle background for sections |
bg.muted | Muted background |
Brand Colors#
| Token | Description |
|---|---|
brand.default | Primary brand color |
brand.fg | Text on brand background |
brand.emphasis | Emphasized brand color |
Usage#
Use semantic tokens in your styles: