Manages nicegui.ui.dark_mode. Updates config.APP_DARK_MODE.
def set_dark(dark_mode: ui.dark_mode, value: bool) -> None:
dark_mode
The nicegui.ui.dark_mode object
nicegui.ui.dark_mode
value
The new dark_mode value.
Last updated 1 year ago