-
Notifications
You must be signed in to change notification settings - Fork 0
/
styled.d.ts
50 lines (49 loc) · 982 Bytes
/
styled.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// import original module declarations
import 'styled-components';
// and extend them!
declare module 'styled-components' {
export interface DefaultTheme {
color: {
darkShades: string;
darkAccent: string;
main: string;
lightAccent: string;
lightShades: string;
};
breakpoints: { xs: string; sm: string; md: string; lg: string; xl: string };
fontWeights: {
normal: number;
medium: number;
bold: number;
};
fontSizes: {
xxs: string;
xs: string;
sm: string;
md: string;
lg: string;
xl: string;
'2xl': string;
'3xl': string;
'4xl': string;
'5xl': string;
'6xl': string;
};
space: {
xs: string;
sm: string;
md: string;
lg: string;
xl: string;
xxl: string;
};
sizes: {
xxs: string;
xs: string;
sm: string;
xl: string;
xxl: string;
'3xl': string;
};
}
}