Skip to main content

Module elevation

Module elevation 

Structs§

Elevation
Elevation, by the design language’s one rule: only floating things cast a shadow. Window tiles, bars, cards and selected controls have none — a tile is separated by the ground and its window edge, a selection is a lift (crate::tokens::Intents::selection).
Shadow
One step of the elevation ramp — a complete description of a drop shadow, and the only description a surface is allowed to use.

Constants§

LIGHT_SHADOW_SCALE
How much of the dark material’s shadow a light material keeps.