File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
reflex_ui/components/base Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1111
1212def 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" ,
You can’t perform that action at this time.
0 commit comments