reformat color_mode pyi
This commit is contained in:
parent
9e7eeb2a6e
commit
db89a712e9
@ -18,7 +18,7 @@ from .components.icon_button import IconButton
|
||||
DEFAULT_LIGHT_ICON: Icon
|
||||
DEFAULT_DARK_ICON: Icon
|
||||
|
||||
def icon(
|
||||
def color_mode_icon(
|
||||
light_component: BaseComponent | None = None,
|
||||
dark_component: BaseComponent | None = None,
|
||||
): ...
|
||||
@ -403,7 +403,7 @@ class ColorModeSwitch(Switch):
|
||||
...
|
||||
|
||||
class ColorModeNamespace(Var):
|
||||
icon = icon
|
||||
icon = color_mode_icon
|
||||
button = staticmethod(ColorModeIconButton.create)
|
||||
switch = staticmethod(ColorModeSwitch.create)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user