Skip to main content

CHEVRON_STYLE

Constant CHEVRON_STYLE 

Source
pub const CHEVRON_STYLE: &str = r#"
.chevron {
    display: flex;
    flex: none;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.15s ease;
}

.chevron.open {
    transform: rotate(90deg);
}
"#;
Expand description

The chevron’s look wherever it is drawn: muted, filling its box, and a quarter turn to point down while what it marks is open. A component that draws chevrons carries this once.