config.theme. CSS custom properties are derived from your colors and applied to the widget root, so you can also style on top of them.
Example
From the playground:Color variables
Colors map to these CSS variables on the widget root:| Theme color | CSS variable | Default |
|---|---|---|
primary | --mind-primary | #1d4ed8 |
background | --mind-surface | #ffffff |
text | --mind-foreground | #0f172a |
accent | --mind-accent | #f59e0b |
success | --mind-success | #16a34a |
error | --mind-error | #dc2626 |