Colors
class Colors(val surface: SurfaceColors, val content: ContentColors, val primary: FeatureColors, val info: FeatureColors, val success: FeatureColors, val warning: FeatureColors, val critical: FeatureColors, val bundle: BundleColors, val isLight: Boolean)
Orbit Color Theme.
Colors are exposed through semantic color sets:
surface light colors representing background shades;
content dark colors representing text color shades;
primary product colors representing main product colors and primary actions;
info blue colors representing info state and interactive components;
success green colors representing success states;
warning orange colors representing warning states;
critical red colors representing dangerous and critical states;
bundle bundle colors representing particular product variants;
Constructors
Link copied to clipboard
constructor(surface: SurfaceColors, content: ContentColors, primary: FeatureColors, info: FeatureColors, success: FeatureColors, warning: FeatureColors, critical: FeatureColors, bundle: BundleColors, isLight: Boolean)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun copy(surface: SurfaceColors = this.surface, content: ContentColors = this.content, primary: FeatureColors = this.primary, info: FeatureColors = this.info, success: FeatureColors = this.success, warning: FeatureColors = this.warning, critical: FeatureColors = this.critical, bundle: BundleColors = this.bundle, isLight: Boolean = this.isLight): Colors