charton API / @chart-on/core / index / ColorPresetVariant
Interface: ColorPresetVariant
Defined in: packages/core/src/color-presets.ts:5
One scheme of a colour preset: a background and a primary colour, plus fixes.
Properties
background
background:
string
Defined in: packages/core/src/color-presets.ts:7
Canvas colour; surfaces, lines and text are mixed from it.
overrides?
optionaloverrides?:Partial<ChartTheme>
Defined in: packages/core/src/color-presets.ts:11
Chart theme values that win over the derived ones, for anything the derivation gets wrong.
primary
primary:
string
Defined in: packages/core/src/color-presets.ts:9
Accent colour: line series, drawings and the heatmap ramp.
tokens?
optionaltokens?:Readonly<Record<string,string>>
Defined in: packages/core/src/color-presets.ts:13
Shell CSS custom properties (--pc-*) that win over the derived ones. Used by @chart-on/ui.