react-nepali-datetime-picker
Version:
A simple and reusable Nepali calendar, date and time picker components for React.
41 lines (40 loc) • 1.13 kB
TypeScript
export declare const defaultThemes: {
[key in ThemeMode]: ThemeColor;
};
export declare const getColorVariables: () => Record<string, string>;
export type ThemeMode = 'light' | 'dark';
export type ThemeColor = {
primary?: string;
'primary-content'?: string;
secondary?: string;
'secondary-content'?: string;
accent?: string;
'accent-content'?: string;
neutral?: string;
'neutral-focus'?: string;
'neutral-content'?: string;
'base-100'?: string;
'base-200'?: string;
'base-300'?: string;
'base-content'?: string;
error?: string;
'error-content'?: string;
success?: string;
'success-content'?: string;
};
export declare const getLightTheme: (light: ThemeColor) => {
"[data-theme=light]": {
[x: string]: string;
};
};
export declare const getDefaultLightTheme: () => {
"[data-theme=light]": Record<string, string>;
};
export declare const getDarkTheme: (dark: ThemeColor) => {
"[data-theme=dark]": {
[x: string]: string;
};
};
export declare const getDefaultDarkTheme: () => {
"[data-theme=dark]": Record<string, string>;
};