Usage
#
Theme configurationIf you want to use the default theme, you can fully skip this step. But if you want to set your own primitives and overwrite the default theme, you have to wrap your app with a ThemeProvider
. For example:
#
ComponentsNow you can use the components:
#
Custom components with the themeTo use the theme in your own components, you can use useStyles
hook. You can define styles while using theme primitives:
#
Accessing the themeAnd you can also access the theme object anywhere in the app: