Brand

class Brand(val brand: Color, val soft: Color, val medium: Color, val strong: Color, val accent: Color, val onBrand: Color, val onSoft: Color, val onMedium: Color, val onStrong: Color, val onAccent: Color)

The Brand color set.

brand/soft/medium/strong/accent are the brand tones; the on* values are the content color to sit on top of the matching tone.

Constructors

Link copied to clipboard
constructor(brand: Color, soft: Color, medium: Color, strong: Color, accent: Color, onBrand: Color, onSoft: Color, onMedium: Color, onStrong: Color, onAccent: Color)

Properties

Link copied to clipboard

A contrasting color used sparingly, to make one element stand out from the brand tones.

Link copied to clipboard

The brand color itself, as given.

Link copied to clipboard

The middle brand tone.

Link copied to clipboard

Content that sits on accent.

Link copied to clipboard

Content that sits on brand.

Link copied to clipboard

Content that sits on medium.

Link copied to clipboard

Content that sits on soft.

Link copied to clipboard

Content that sits on strong.

Link copied to clipboard
val soft: Color

The lightest brand tone — the darkest in a dark scheme.

Link copied to clipboard

The darkest brand tone — the lightest in a dark scheme.