ZeroCentredColors

View as Markdown

Colours for a zero-centred diverging gradient: negative and positive bands that meet at 0

TypeScript
export interface

Properties

PropertyTypeDescriptionDefault
NegativeColorstringColour applied to negative cell values (Col-Min…0)var(--ab-color-destructive)
PositiveColorstringColour applied to positive cell values (0…Col-Max)var(--ab-color-success)

Property Details

NegativeColor

Colour applied to negative cell values (Col-Min…0)

TypeScript
NegativeColor: string;
Default Value

var(--ab-color-destructive)

Property Value

string

PositiveColor

Colour applied to positive cell values (0…Col-Max)

TypeScript
PositiveColor: string;
Default Value

var(--ab-color-success)

Property Value

string