Skip to content
EliteChart

DEFAULT\_THEME

Documentation


Documentation / @elitechart/core / DEFAULT_THEME

code
const DEFAULT_THEME: ChartForgeTheme;

Defined in: theme/default.ts:22

The dark fallback theme baked into core. Used when a consumer doesn't pass ChartOptions.theme, and as a safety net when a custom theme omits a token.

Example

code
import { DEFAULT_THEME, createChart } from '@elitechart/core';
const chart = createChart(el, { series, theme: DEFAULT_THEME });