ResolvedTheme
Documentation / @elitechart/core / ResolvedTheme
Defined in: theme/types.ts:48
Theme flattened into the exact fields the chart renderer needs.
Produced by resolveTheme(theme). Keeping a dedicated resolved shape
(versus reading tokens on each paint) avoids map lookups in the hot
path.
Example
Properties
accent
Defined in: theme/types.ts:63
accentFill
Defined in: theme/types.ts:64
bgCanvas
Defined in: theme/types.ts:50
bgSurface
Defined in: theme/types.ts:51
borderDefault
Defined in: theme/types.ts:56
borderSubtle
Defined in: theme/types.ts:55
crosshair
Defined in: theme/types.ts:58
crosshairLabelBg
Defined in: theme/types.ts:59
crosshairLabelFg
Defined in: theme/types.ts:60
fontMono
Defined in: theme/types.ts:66
fontSans
Defined in: theme/types.ts:65
grid
Defined in: theme/types.ts:57
name
Defined in: theme/types.ts:49
seriesDown
Defined in: theme/types.ts:62
seriesUp
Defined in: theme/types.ts:61
textMuted
Defined in: theme/types.ts:54
textPrimary
Defined in: theme/types.ts:52
textSecondary
Defined in: theme/types.ts:53