pysepal.solara.theme#

Scope-keyed theme state and Solara hooks.

Functions

get_current_theme_state

Return the theme state for the current runtime scope.

resolve_theme_state

Return a usable ThemeState.

use_theme_dark

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

ThemeState(*args, **kwargs)

Theme preference and resolved dark/light state, keyed by runtime scope.