Accent Color
The user-selectable accent hue. One sharp colour carries primary (and the rest of the primary family) in both the light and dark schemes, paired with the content colour drawn on top of it — onAccent is ink for light accents, white for saturated ones, picked to clear WCAG AA on the fill. The neutral ramps in Color.kt are fixed; only this hue changes.
Persisted by AccentColorStore; Default is used until the user picks one.
Properties
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.