UNPKG

@octopusdeploy/design-system-components

Version:
15 lines (14 loc) 477 B
export declare const chartStrokeColorValues: string[]; export type ChartStrokeColor = (typeof chartStrokeColorValues)[number]; interface ThemedChartColors { grid: string; xAxis: string; yAxis: string; label: string; strokes: Record<ChartStrokeColor, string>; } export declare function addColorToDataset<T extends Record<string, any>>(data: T[]): (T & { color: string; })[]; export declare const useThemedChartColors: () => ThemedChartColors; export {};