@kadconsulting/dry
Version:
KAD Reusable Component Library
38 lines (37 loc) • 872 B
TypeScript
import type { Palette } from './Palette';
import type { Typography } from './Typography';
import type { Breakpoints } from './Breakpoints';
export declare const spacing: {
xsmall: string;
small: string;
medium: string;
large: string;
xlarge: string;
};
export declare const zIndex: {
low: number;
medium: number;
high: number;
max: number;
};
export declare const shapes: {
borderRadiusSmall: string;
borderRadiusMedium: string;
borderRadiusLarge: string;
};
export declare const transitions: {
fast: string;
medium: string;
slow: string;
};
export type Theme = {
palette: Palette;
typography: Typography;
breakpoints: Breakpoints;
};
export type ExtendedTheme = Theme & {
spacing?: typeof spacing;
zIndex?: typeof zIndex;
shapes?: typeof shapes;
transitions?: typeof transitions;
};