Built-in themes
native
Named theme presets
Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.theme.preset.
20+ presets
Source: chartkit:packages/core/src/generated/schema.ts:315
ChartKit spec
Passed validate() during npm run matrix:refresh. The SVG is the server render.
{
"version": "1",
"type": "line",
"data": [
{
"quarter": "Q1",
"units": 40
},
{
"quarter": "Q2",
"units": 55
}
],
"encoding": {
"x": "quarter",
"y": "units"
},
"a11y": {
"alt": "Units rose in Q2."
},
"size": {
"width": 640,
"height": 260
},
"theme": {
"preset": "midnight"
}
}Other libraries
Option names are the paths recorded in the matrix. A grep-only cell names the identifier that matched, not a render test. Markdown copy: theme.presets.md.
| Library | Status | Option | Verification | Source |
|---|---|---|---|---|
| Chart.js | none | —defaults only; Colors plugin | absence · absence | — |
| Recharts | unknown | —style via props/CSS | conflict · unknown | — |
| Apache ECharts | native | grep: registerThemeecharts.init(el, 'dark'), registerTheme | grep · weak | echarts/types/src/core/echarts.d.ts:411 |
| Highcharts | native | grep: themeHighcharts.setOptions + themes/ (dark-unica, grid-light...) | grep · weak | highcharts/highcharts.src.d.ts:1415 |
| Plotly.js | native | layout.templateplotly, plotly_dark, ggplot2, seaborn... | types · strong | plot-schema.json#layout.layoutAttributes.template |
| Nivo | native | Line.theme | types · strong | @nivo/line/dist/types/types.d.ts:136 |
| Victory | native | VictoryChart.themegrayscale, material, clean | types · strong | victory-core/lib/victory-util/common-props.d.ts:58 |
| visx | native | grep: buildChartTheme | grep · weak | @visx/xychart/lib/index.d.ts:36 |
| ApexCharts | native | theme.palette, theme.mode | types · strong | apexcharts/types/apexcharts.d.ts:5304 |
| Tremor (npm) | unknown | —Tailwind-based styling | conflict · unknown | — |
| Observable Plot | none | — | absence · absence | — |
| Vega-Lite | native | grep: configvega-themes (separate package) | grep · weak | 130: "AnyMarkConfig" |
| AG Charts | native | grep: themeag-default, ag-sheets, ag-polychroma, ag-vivid, ag-material + dark | grep · weak | ag-charts-types/dist/types/src/main.d.ts:38 |
| amCharts 5 | native | grep: AnimatedThemethemes package (Animated, Dark, Dataviz...) | grep · weak | @amcharts/amcharts5/.internal/themes/KellyDarkTheme.d.ts:10 |
| Google Charts | native | grep: themetheme: 'material' only | grep · weak | @types/google.visualization/index.d.ts:696 |
| uPlot | none | — | absence · absence | — |
| TradingView Lightweight Charts | native | grep: layout | grep · weak | 515: * The crosshair marker background color. An empty string falls back to the color of the series under the crosshair. |
| MUI X Charts | unknown | grep: ThemeProviderMUI theme | unverified · unknown | — |
| Mermaid (chart-ish diagrams only) | native | grep: themedefault, neutral, dark, forest, base | grep · weak | mermaid/dist/utils.d.ts:11 |
| AntV G2 | native | grep: themelight, dark, classic, academy | grep · weak | @antv/g2/lib/index.d.ts:105 |