2020-06-15 02:50:35 +02:00
|
|
|
// import original module declarations
|
|
|
|
import 'styled-components';
|
|
|
|
|
|
|
|
// and extend them!
|
|
|
|
declare module 'styled-components' {
|
|
|
|
export interface DefaultTheme {
|
|
|
|
borderRadius: {
|
|
|
|
primary: string;
|
|
|
|
alternate: string;
|
|
|
|
};
|
|
|
|
colors: {
|
|
|
|
[key: string]: any;
|
2020-12-18 00:13:34 +01:00
|
|
|
multiColors: string[];
|
2020-06-15 02:50:35 +02:00
|
|
|
primary: string;
|
|
|
|
secondary: string;
|
|
|
|
success: string;
|
|
|
|
danger: string;
|
|
|
|
warning: string;
|
|
|
|
dark: string;
|
|
|
|
alternate: string;
|
|
|
|
text: {
|
|
|
|
primary: string;
|
|
|
|
secondary: string;
|
|
|
|
};
|
|
|
|
bg: {
|
|
|
|
primary: string;
|
|
|
|
secondary: string;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|