SelectoComponents.Theme.ThemeProvider (selecto_components v0.3.21)

Comprehensive theming system using CSS variables for SelectoComponents customization.

Link to this section Summary

Functions

Get available theme names.

Export theme as JSON for storage.

Generate CSS for theme variables.

Get theme configuration.

Import theme from JSON.

Merge custom theme with base theme.

Theme provider wrapper that injects CSS variables.

Link to this section Functions

Link to this function

available_themes()

Get available theme names.

Link to this function

export_theme(theme_config)

Export theme as JSON for storage.

Link to this function

generate_theme_css()

Generate CSS for theme variables.

Link to this function

get_theme(theme_name)

Get theme configuration.

Link to this function

import_theme(json_string)

Import theme from JSON.

Link to this function

merge_theme(base_theme, custom_theme)

Merge custom theme with base theme.

Link to this function

theme_provider(assigns)

Theme provider wrapper that injects CSS variables.