pysepal.solara.theme#

Session-scoped theme state and Solara hooks.

Functions

get_current_theme_state

Return the theme state for the current Solara kernel session.

use_theme_dark

Reactively return the effective dark/light state for the current session.

ThemeState(*args, **kwargs)

Session-scoped theme preference and resolved dark/light state.