@chartts/themes
v0.1.6
Published
Extra theme presets for Chartts. Neon, pastel, monochrome, luxury, retro, and more.
Readme
@chartts/themes
Extra theme presets for Chartts. Drop-in themes beyond the 5 built into core.
Install
npm install @chartts/themes @chartts/coreUsage
import { neonTheme, pastelTheme, luxuryTheme } from "@chartts/themes"
import { createChart, lineChartType } from "@chartts/core"
createChart(container, lineChartType, data, { theme: neonTheme })With framework packages:
import { LineChart } from "@chartts/react"
import { midnightTheme } from "@chartts/themes"
<LineChart data={data} theme={midnightTheme} />Available themes
| Theme | Vibe |
|-------|------|
| neonTheme | Dark background, vivid neon accents, cyberpunk |
| pastelTheme | Soft muted tones, gentle on the eyes |
| monochromeTheme | Grayscale only, maximum clarity |
| luxuryTheme | Rich darks, gold accents, premium feel |
| retroTheme | Warm vintage tones, hand-drawn feel |
| minimalTheme | Ultra-clean, barely-there UI |
| midnightTheme | Deep blue dark mode |
| earthTheme | Natural, organic tones |
Core also includes 5 built-in presets: corporate, saas, startup, editorial, ocean.
Part of Chartts
Beautiful charts. Tiny bundle. Every framework.
License
MIT
