reflex/docs/library/theming/theme.md
2024-02-26 17:18:28 +01:00

17 lines
314 B
Markdown

---
components:
- rx.theme
---
# Theme
The `Theme` component is used to change the theme of the application. The `Theme` can be set directly in the rx.App.
```python
app = rx.App(
theme=rx.theme(
appearance="light", has_background=True, radius="large", accent_color="teal"
)
)
```