OudsBorders

data class OudsBorders(val width: OudsBorders.Width, val radius: OudsBorders.Radius, val style: OudsBorders.Style)

Holds all the border-related properties defined in the OUDS theme.

Borders are used to define boundaries around UI elements to materialise the visual hierarchy and improve usability.

Constructors

Link copied to clipboard
constructor(width: OudsBorders.Width, radius: OudsBorders.Radius, style: OudsBorders.Style)

Types

Link copied to clipboard
data class Radius(val none: Dp, val default: Dp, val small: Dp, val medium: Dp, val large: Dp, val pill: Dp)

Represents the available border radius in OUDS.

Link copied to clipboard
data class Style(val default: OudsBorderStyle, val drag: OudsBorderStyle)

Represents the available border styles in OUDS.

Link copied to clipboard
data class Width(val none: Dp, val default: Dp, val thin: Dp, val medium: Dp, val thick: Dp, val thicker: Dp, val focus: Dp, val focusInset: Dp)

Represents the available border widths in OUDS.

Properties

Link copied to clipboard

Collection of border radius values.

Link copied to clipboard

Collection of border styles (solid, dashed, etc.).

Link copied to clipboard

Collection of border width values.