Theme Overview
Use the Theme
component to change the look and feel of your UI.
Anatomy
The Theme component defines the overall visual look of your application. It can be customized by passing a minimal set of configuration options.
TODO: example
A well tuned set of defaults is provided to get you started, but don't be afraid to play with all of the available options to find the right visual style for your application. Check out the Playground to see what effect each option has.
Variants
Variants are visual variations of a component which are used to create visual hierarchies and communicate relative importance.
Each component offers a different set of variants, though all are designed to be consistent and complimentary with each other.
TODO: example
Examples
Using a combination of component variants alongside customized theme settings allows you to create a multitude of unique-looking interfaces.
For example you could create:
These examples are from the original Radix Themes written in TypeScript.
Or any number of differing treatments and styles.
TODO: examples
Tokens
Tokens provide direct access to theme values and give you flexibility to build and customize your own themed components.
For all available theme tokens see the source code, or read more about each type of token in the relevant theme pages.