All components can inherit styles from a global theme while allowing component-specific overrides.To define your theme:
1
Design tokens that define your core design system values
2
Component-specific styling that applies these tokens to individual elements
Component styling inherit from the tokens you define and each component can have additional specific styling on each of its elements for maximum control.
Design tokens define the fundamental values of your design system. Tokens can be direct values OR token references. You can use direct values (e.g., #ffffff) or reference tokens (e.g., primary.main).
These tokens will automatically apply to all components by default, allowing you to define the theme once across the full app.
Each component accepts specific styling options. Components inherit the global theme but can be overridden with component-specific themes. When defining the styling for a specific component, you can still refer to the globally defined tokens, colors and fonts.
Read each component's reference page for the customization options.