From 8dacf8f95f6442d36186c6cf924a2c8ba1ec006a Mon Sep 17 00:00:00 2001 From: Iisakki Rotko Date: Mon, 4 Mar 2024 14:37:26 +0100 Subject: [PATCH] fix: ThemeToggle icons not being used --- solara/lab/components/theming.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/solara/lab/components/theming.py b/solara/lab/components/theming.py index 4ee79f116..cb7e948c0 100644 --- a/solara/lab/components/theming.py +++ b/solara/lab/components/theming.py @@ -56,7 +56,7 @@ def sync_themes(selected_theme: str): theme_dark=theme.dark, event_sync_themes=sync_themes, enable_auto=enable_auto, - on_icon="mdi-weather-night", - off_icon="mdi-weather-sunny", - auto_icon="mdi-brightness-auto", + on_icon=on_icon, + off_icon=off_icon, + auto_icon=auto_icon, )