Skip to main content

STANDARD_ITEM_SELECTION_EDGE_WIDTH

Constant STANDARD_ITEM_SELECTION_EDGE_WIDTH 

Source
pub const STANDARD_ITEM_SELECTION_EDGE_WIDTH: f32 = 1.0;
Expand description

Border thickness drawn around a selected item (in the BorderRole::Focused accent colour) even without keyboard focus. A non-color-alone, >= 3:1 boundary cue so selection is perceivable beyond the low-contrast surface_selected wash (WCAG 1.4.1 Use of Color / 1.4.11 Non-text Contrast). Thinner than the keyboard-focus ring so the two stay distinguishable.