Skip to content

toggle_theme

Toggle the active application theme between light and dark mode.

Uses the light and dark themes specified in app settings, or defaults to bootstrap-light and bootstrap-dark.

Examples:

>>> toggle_theme()