Skip to content

Commit

Permalink
Apply default theme to apps
Browse files Browse the repository at this point in the history
  • Loading branch information
picklelo committed Dec 20, 2023
1 parent 8ac08e2 commit 65c9d7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion reflex/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
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
Expand Down Expand Up @@ -131,7 +132,7 @@ class App(Base):
background_tasks: Set[asyncio.Task] = set()

# The radix theme for the entire app
theme: Optional[Component] = None
theme: Optional[Component] = themes.theme(accent_color="blue")

def __init__(self, *args, **kwargs):
"""Initialize the app.
Expand Down

0 comments on commit 65c9d7b

Please sign in to comment.