Border

class Border(val emphasized: Color, val moderate: Color, val subtle: Color, val brand: Color, val brandSoft: Color, val brandMedium: Color, val brandStrong: Color, val brandAccent: Color, val success: Color, val error: Color, val warning: Color, val info: Color, val disabled: Color)

Border colors.

Constructors

Link copied to clipboard
constructor(emphasized: Color, moderate: Color, subtle: Color, brand: Color, brandSoft: Color, brandMedium: Color, brandStrong: Color, brandAccent: Color, success: Color, error: Color, warning: Color, info: Color, disabled: Color)

Properties

Link copied to clipboard

Brand-tinted border.

Link copied to clipboard

Accent border, for the one element that should stand out.

Link copied to clipboard

Brand border at its middle tone.

Link copied to clipboard

Brand border at its lightest tone — its darkest in a dark scheme.

Link copied to clipboard

Brand border at its darkest tone — its lightest in a dark scheme.

Link copied to clipboard

Border of a control that cannot be used.

Link copied to clipboard

A border meant to be seen: a focused field, a selected cell.

Link copied to clipboard

Border of something reporting a failure — an invalid field.

Link copied to clipboard
val info: Color

Border of something carrying neutral information.

Link copied to clipboard

A border that delimits without drawing attention: a card outline.

Link copied to clipboard

A hairline separator — list dividers, section rules.

Link copied to clipboard

Border of something reporting success.

Link copied to clipboard

Border of something needing attention.