Skip to content

Commit 34f29d2

Browse files
committed
update theme switcher radius
1 parent 3e11470 commit 34f29d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reflex_ui/components/base/theme_switcher.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111

1212
def theme_switcher_item(mode: LiteralColorMode, icon: str) -> Component:
1313
"""Create a theme switcher item button for a specific mode."""
14-
active_cn = "text-secondary-12 shadow-small bg-secondary-1"
15-
unactive_cn = "hover:text-secondary-12 text-secondary-9"
14+
active_cn = "text-secondary-11 shadow-small bg-secondary-1"
15+
unactive_cn = "hover:text-secondary-11 text-secondary-9"
1616
return Button.create(
1717
hi(icon, class_name="shrink-0", size=14),
1818
on_click=set_color_mode(mode),
1919
class_name=(
20-
"flex items-center cursor-pointer justify-center rounded-ui-sm transition-color size-6",
20+
"flex items-center cursor-pointer justify-center rounded-ui-xs transition-color size-6",
2121
cond(mode == color_mode, active_cn, unactive_cn),
2222
),
2323
aria_label=f"Switch to {mode} mode",

0 commit comments

Comments
 (0)