Skip to content

Function: useThemeColors()

useThemeColors(palette?): string[]

Hook to get theme colors with automatic updates on theme change. Re-resolves CSS variables when color scheme or theme attributes change.

ChartColorPalette

Color palette type: “categorical” (default), “sequential”, or “diverging”

string[]