OudsSizes

data class OudsSizes(val icon: OudsSizes.Icon, val maxWidth: OudsSizes.MaxWidth, val minInteractiveArea: Dp)

Holds the size values defined in the OUDS theme.

These values ensure consistent sizing for icons, touch targets, and layout constraints across different screen sizes and contexts.

Constructors

Link copied to clipboard
constructor(icon: OudsSizes.Icon, maxWidth: OudsSizes.MaxWidth, minInteractiveArea: Dp)

Types

Link copied to clipboard
data class Icon(val decorative: OudsSizes.Icon.Decorative, val withHeading: OudsSizes.Icon.WithHeading, val withLabel: OudsSizes.Icon.WithLabel, val withBody: OudsSizes.Icon.WithBody)

Sizes for icons depending on their usage context.

Link copied to clipboard
data class MaxWidth(val type: OudsSizes.MaxWidth.Type)

Maximum width constraints used to control line length and layout density.

Properties

Link copied to clipboard

Sizes related to icons.

Link copied to clipboard

Max width constraints for layouts.

Link copied to clipboard

The minimum size for an interactive touch target.