Interface: ThemeParams
Flat design tokens; the keys mirror the resolved theme one to one.
Properties
axisColor?
optionalaxisColor?:string
Axis lines, ticks and grid — light grey by default.
backgroundColor?
optionalbackgroundColor?:string
cornerRadius?
optionalcornerRadius?:number
Corner rounding of every rectangular mark; unset keeps each mark's own default.
fillOpacity?
optionalfillOpacity?:number
Fill opacity of every filled mark; unset keeps each mark's own default.
fontFamily?
optionalfontFamily?:string
fontSize?
optionalfontSize?:number
Base label size (11). Every other size moves with it.
foregroundColor?
optionalforegroundColor?:string
lineDash?
optionallineDash?:number[]
Dash pattern of data lines; solid unless a series says otherwise.
markStrokeWidth?
optionalmarkStrokeWidth?:number
Outline width of filled marks — bars, sectors, boxes. Not a data line.
mutedColor?
optionalmutedColor?:string
Secondary text: axis labels, the subtitle, legend values, tooltip rows.
negativeColor?
optionalnegativeColor?:string
positiveColor?
optionalpositiveColor?:string
Growth and decline: candlesticks, OHLC bars, falling waterfall columns.
strokeWidth?
optionalstrokeWidth?:number
Data line width — line/area/radar strokes, never a shape outline.