Skip to content

charton API


charton API / @chart-on/core / index / chartThemeTokens

Variable: chartThemeTokens ​

const chartThemeTokens: Readonly<Record<Exclude<keyof ChartTheme, "typography" | "indicatorPalette">, string>>

Defined in: packages/core/src/theme.ts:421

CSS custom property that sets each ChartTheme key, read by themeFromCss. typography has no single token; see chartTypographyTokens. indicatorPalette has none either: a host sets it on the theme object.