forked from Uniswap/interface
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyled.d.ts
More file actions
74 lines (61 loc) · 1.24 KB
/
Copy pathstyled.d.ts
File metadata and controls
74 lines (61 loc) · 1.24 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
import { FlattenSimpleInterpolation, ThemedCssFunction } from 'styled-components'
export type Color = string
export interface Colors {
// base
white: Color
black: Color
// text
text1: Color
text2: Color
text3: Color
text4: Color
text5: Color
// backgrounds / greys
bg1: Color
bg2: Color
bg3: Color
bg4: Color
bg5: Color
modalBG: Color
advancedBG: Color
//blues
primary1: Color
primary2: Color
primary3: Color
primary4: Color
primary5: Color
primaryText1: Color
// pinks
secondary1: Color
secondary2: Color
secondary3: Color
// other
red1: Color
red2: Color
green1: Color
yellow1: Color
yellow2: Color
blue1: Color
}
export interface Grids {
sm: number
md: number
lg: number
}
declare module 'styled-components' {
export interface DefaultTheme extends Colors {
grids: Grids
// shadows
shadow1: string
// media queries
mediaWidth: {
upToExtraSmall: ThemedCssFunction<DefaultTheme>
upToSmall: ThemedCssFunction<DefaultTheme>
upToMedium: ThemedCssFunction<DefaultTheme>
upToLarge: ThemedCssFunction<DefaultTheme>
}
// css snippets
flexColumnNoWrap: FlattenSimpleInterpolation
flexRowNoWrap: FlattenSimpleInterpolation
}
}