euv-ui 0.46.0

Cross-platform UI component library and 17-scheme design system for the euv framework with pixel-consistent rendering across Web, Android, iOS, iPadOS, macOS, Windows, and Linux.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use super::*;

/// Reactive UI state bundle shared across all `euv-ui` components.
#[derive(Clone, Data, Debug)]
pub struct UiThemeState {
    /// Reactive design scheme signal (supports live switching across all 17 schemes).
    #[get(type(copy))]
    pub(crate) scheme: Signal<DesignScheme>,
    /// Reactive light/dark mode signal.
    #[get(type(copy))]
    pub(crate) mode: Signal<ThemeMode>,
    /// Derived memoized `ThemeTokens` recomputed only when scheme or mode changes.
    #[get(type(copy))]
    pub(crate) tokens: Memo<ThemeTokens>,
}