Skip to main content

ButtonTone

Type Alias ButtonTone 

Source
pub type ButtonTone = SemanticTone;
Expand description

Semantic palette shortcut for Material buttons and icon buttons. Backwards-compatible alias for crate::SemanticTone. Per-instance ButtonColors and ButtonBorder overrides still take precedence.

Aliased Type§

pub enum ButtonTone {
    Default,
    Danger,
    Success,
    Warning,
    Info,
}

Variants§

§

Default

§

Danger

§

Success

§

Warning

§

Info