UI Customization
Theme Structure
Design tokens that define your core design system values
Component-specific styling that applies these tokens to individual elements
Basic Implementation
Design Tokens
You can use direct values (e.g.,
#ffffff
) or reference tokens (e.g., primary.main
).
Common Elements
Button Styling
Button Variants
primary
, secondary
, small
, outline
, link-button
, destructive
Referencing Nested Tokens
colors.primary.main
), you can reference them using dot notation:
Styling Inheritance
1.
2.
3.
Component-Specific Themes
When defining the styling for a specific component, you can still refer to the globally defined tokens, colors and fonts.
Custom Strings
Custom strings allows you to override any of the texts on the component with your own texts.
Custom Strings are currently in beta.
đź’ˇ