StylishTheme

Accessor object for the current StylishTheme composition-local values.

Use StylishTheme.dimensions inside any composable to retrieve the StylishDimensions tokens provided by the enclosing StylishTheme call, StylishTheme.animation for the StylishAnimationTokens, and StylishTheme.shapes for the StylishShapes tokens. This mirrors the role that MaterialTheme plays for colors and typography, but for Stylish-specific spatial, motion, and shape tokens.

See also

Properties

Link copied to clipboard

The motion tokens provided by the current StylishTheme composition.

Link copied to clipboard

The dimension tokens provided by the current StylishTheme composition.

Link copied to clipboard

The shape tokens provided by the current StylishTheme composition.