API reference
defineVars
Define static CSS variables to use across themes and components.
The defineVars
function defines static CSS variables can be reused create() or defineTheme().
Use it to create reusable tokens like colors, spacing, or any design values that are consistent across your design system.
Example: Creating tokens
These variables will be accessible in your theme or styles via tokens.white, tokens.textPrimary, etc.