ColorScheme
@Immutable
A color scheme holds all the named color roles parameters for PICO design system.
Constructors
Link copied to clipboard
constructor(fillPrimary: Color, fillSecondary: Color, fillTertiary: Color, fillLight: Color, labelPrimaryLight: Color, labelPrimary: Color, labelSecondary: Color, labelTertiary: Color, labelQuaternary: Color, lightenHover: Color, lightenPressed: Color, error: Color, alert: Color, passable: Color, interaction: Color, dividerLine: Color)
Properties
Link copied to clipboard
Divider line color.
Link copied to clipboard
Background color for small areas and important elements.
Link copied to clipboard
Background color for large areas and non-important elements.
Link copied to clipboard
Background color for the least important elements.
Link copied to clipboard
Interaction semantic color.
Link copied to clipboard
Primary content color.
Link copied to clipboard
The foreground color used on fillPrimary.
Link copied to clipboard
Quaternary content color.
Link copied to clipboard
Secondary content color.
Link copied to clipboard
Tertiary content color.
Link copied to clipboard
Hover overlay color.
Link copied to clipboard
Pressed overlay color.
Functions
Link copied to clipboard
fun copy(fillPrimary: Color = this.fillPrimary, fillSecondary: Color = this.fillSecondary, fillTertiary: Color = this.fillTertiary, fillLight: Color = this.fillLight, labelPrimaryLight: Color = this.labelPrimaryLight, labelPrimary: Color = this.labelPrimary, labelSecondary: Color = this.labelSecondary, labelTertiary: Color = this.labelTertiary, labelQuaternary: Color = this.labelQuaternary, lightenHover: Color = this.lightenHover, lightenPressed: Color = this.lightenPressed, error: Color = this.error, alert: Color = this.alert, passable: Color = this.passable, interaction: Color = this.interaction, dividerLine: Color = this.dividerLine): ColorScheme