CoreColours class final

Brand-identity colours.

These sit above the neutral axis and define the primary brand expression across interactive elements, CTAs, and selected states.

Constructors

CoreColours({required Color brand, required Color brandSubtle, required Color onBrand})
const

Properties

brand Color
Primary brand colour. Interactive elements, CTAs, selected states.
final
brandSubtle Color
Subtle brand tint. Backgrounds behind brand-coloured icons or badges.
final
hashCode int
The hash code for this object.
no setterinherited
onBrand Color
Text or icons placed on top of brand surfaces.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

copyWith({Color? brand, Color? brandSubtle, Color? onBrand}) CoreColours
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

lerp(CoreColours a, CoreColours b, double t) CoreColours