overmind-themes
Version:
Themes for website, devtools and demos
43 lines (42 loc) • 1.01 kB
TypeScript
export declare type Colors = {
primary: string;
dark: string;
red: string;
white: string;
gray: string;
black: string;
};
export interface BaseTheme {
color: Colors;
padding: {
none: string;
smallest: string;
smallerer: string;
smaller: string;
small: string;
normal: string;
large: string;
};
borderRadius: {
normal: string;
large: string;
};
fontSize: {
smallest: string;
small: string;
normal: string;
large: string;
larger: string;
largest: string;
};
}
export interface ThemeInterface extends BaseTheme {
color: Colors & {
fade: (color: string, fade: number) => string;
lighten: (color: string, lighten: number) => string;
};
}
export declare const overmind: ThemeInterface;
export declare const react: ThemeInterface;
export declare const vue: ThemeInterface;
export declare const angular: ThemeInterface;