chartly-charts
Version:
Modern themed charts for React applications
49 lines • 1.16 kB
TypeScript
import React from 'react';
export interface ThemeColors {
primary: string;
secondary: string;
accent: string;
background: string;
surface: string;
text: string;
textSecondary: string;
grid: string;
tooltip: string;
gradientStart: string;
gradientEnd: string;
}
export interface ThemeConfig {
colors: ThemeColors;
shadows: {
small: string;
medium: string;
large: string;
};
gradients: {
primary: string;
secondary: string;
surface: string;
};
blur: string;
borderRadius: {
small: number;
medium: number;
large: number;
};
animations?: {
glow?: string;
pulse?: string;
};
}
interface ChartThemeContextType {
theme: ThemeConfig;
themeName: string;
}
export declare const useChartTheme: () => ChartThemeContextType;
interface ChartThemeProviderProps {
children: React.ReactNode;
theme: string;
}
export declare const ChartThemeProvider: React.FC<ChartThemeProviderProps>;
export {};
//# sourceMappingURL=ChartThemeProvider.d.ts.map