StylishCardDefaults

Theme-aware defaults for standalone and connected Stylish cards.

Functions

Link copied to clipboard

Resolves the optional outline for a card variant.

Link copied to clipboard

Resolves card colors while preserving the active component color overrides.

Link copied to clipboard
fun elevation(variant: StylishCardVariant, actionable: Boolean): Dp

Resolves the elevation ladder for the selected variant and interaction state.

Link copied to clipboard

Resolves the standard card shape from the active Stylish theme.