mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-10 10:25:03 +00:00
feat(plugin): expose semantic theme tokens (#3898)
This commit is contained in:
@@ -177,8 +177,13 @@ Recreate styles when `theme` or `layout.compact` changes.
|
||||
| `theme.colors.foreground` | Every primary `Text` | Titles and body copy |
|
||||
| `theme.colors.foregroundMuted` | Secondary `Text` | Labels and supporting copy |
|
||||
| `theme.colors.surface0` | Root view | Panel background |
|
||||
| `theme.colors.surface1` | Raised surfaces | Cards and panels |
|
||||
| `theme.colors.surface2` | Control surfaces | Inputs and secondary controls |
|
||||
| `theme.colors.border` | Surface boundaries | Borders and dividers |
|
||||
| `theme.colors.accent` | Primary action fills | Buttons and selected states |
|
||||
| `theme.colors.accentForeground` | Text on an accent fill | Button labels |
|
||||
| `theme.colors.statusSuccess` | Success feedback | Success messages and indicators |
|
||||
| `theme.colors.statusWarning` | Warning feedback | Warning messages and indicators |
|
||||
| `theme.colors.statusDanger` | Failure copy | Error messages and destructive text |
|
||||
| `layout.compact` | Padding and stacking | `true` on mobile and narrow windows |
|
||||
| `layout.platform` | Platform-specific behavior | `ios`, `android`, or `web` |
|
||||
|
||||
Reference in New Issue
Block a user