FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    use_theme_variant

    function · ferroui-view · v0.5.0

    fn use_theme_variant() -> Option<ferroui_base::styling::ThemeVariant>
    

    The theme variant of the control the component is mounted in (Light, Dark, or one of the application), as it is now; the component runs again when it changes.

    View source

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.