OudsElevations

data class OudsElevations(val none: Dp, val default: Dp, val drag: Dp, val emphasized: Dp, val raised: Dp, val sticky: Dp)

Holds the elevation values defined in the OUDS theme.

Elevation is used to create a sense of depth and hierarchy in a design, helping to distinguish between layers and interactive elements.

Constructors

Link copied to clipboard
constructor(none: Dp, default: Dp, drag: Dp, emphasized: Dp, raised: Dp, sticky: Dp)

Properties

Link copied to clipboard
val default: Dp

The standard elevation level for components.

Link copied to clipboard
val drag: Dp

The elevation applied to an element when it is being dragged.

Link copied to clipboard

A higher elevation for emphasized elements.

Link copied to clipboard
val none: Dp

No elevation (0 dp). The element is at the same level as the background.

Link copied to clipboard
val raised: Dp

A slight elevation to detach an element from the surface.

Link copied to clipboard
val sticky: Dp

The elevation used for sticky elements.