Remove default radix theme (#2403)

This commit is contained in:
Nikhil Rao 2024-01-19 06:25:23 +07:00 committed by GitHub
parent d466c2aaa2
commit 2abecbdb9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,7 +46,6 @@ from reflex.components.core.client_side_routing import (
Default404Page,
wait_for_client_redirect,
)
from reflex.components.radix import themes
from reflex.config import get_config
from reflex.event import Event, EventHandler, EventSpec
from reflex.middleware import HydrateMiddleware, Middleware
@ -132,11 +131,11 @@ class App(Base):
Union[Component, ComponentCallable]
] = default_overlay_component
# Background tasks that are currently running
# Background tasks that are currently running.
background_tasks: Set[asyncio.Task] = set()
# The radix theme for the entire app
theme: Optional[Component] = themes.theme(accent_color="blue")
# The radix theme for the entire app.
theme: Optional[Component]
def __init__(self, *args, **kwargs):
"""Initialize the app.