-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
125 lines (124 loc) · 2.57 KB
/
tailwind.config.js
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
/*
** TailwindCSS Configuration File
**
** Docs: https://tailwindcss.com/docs/configuration
** Default: https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js
*/
module.exports = {
theme: {
fontFamily: {
'mt': ['Montserrat']
},
colors: {
pink: {
default: '#FF5CA8',
lighter: '#FFB3D6'
},
brown: {
default: '#F57B51',
lighter: '#FFC6B3'
},
green: {
default: '#58DFB6',
lighter: '#B3FFE8'
},
yellow: {
default: '#F9CF31',
lighter: '#FFEFB3'
},
orange: {
default: '#FF5C5C',
lighter: '#FFB3B3'
},
black: '#18253C',
grey: {
default: '#F5F6F9',
50: '#F9F9F9', //#FBFBFB
100: '#D6D6D6',
200: '#9DA6BA'
},
blue: {
default: '#4067E8',
lighter: '#B3C4FF'
},
white: '#ffffff'
},
extend: {
spacing: {
'1/2': '0.15rem',
'18': '4.5rem'
},
width: {
'1-5': '0.4rem',
'14': '3.5rem',
'28': '7rem',
'72': '20rem'
},
height: {
'1-5': '0.4rem',
'14': '3.5rem'
},
minWidth: {
'6': '1.5rem',
'3-5': '3.5rem',
'12': '3rem',
'14': '14rem',
'16': '16rem',
'auto': 'auto'
},
padding: {
'1-5': '0.25rem',
'2-5': '0.6rem'
},
minHeight: {
'2/5': '40%',
'1/2': '50%',
'web-kit': '-webkit-fill-available'
},
borderRadius: {
'card': '0.7rem'
},
zIndex: {
'2': 2,
'3': 3,
'4': 4,
'5': 5,
'6': 6
},
opacity: {
'14': '0.14'
},
fontSize: {
'xs2': '0.60rem',
'xxs': '0.5rem',
'xxs2': '0.4rem'
}
},
stroke: theme => ({
'black': theme('colors.black'),
'grey-50': theme('colors.grey.50'),
}),
fill: theme => ({
'black': theme('colors.black'),
'white': theme('colors.white'),
'blue': theme('colors.blue'),
'pink': theme('colors.pink'),
'brown': theme('colors.brown'),
'green': theme('colors.green'),
'yellow': theme('colors.yellow'),
'orange': theme('colors.orange'),
'grey-50': theme('colors.grey.50'),
'grey-200': theme('colors.grey.200')
})
},
variants: {
fontFamily: [],
stroke: ['responsive'],
fill: ['responsive'],
textColor: ['hover'],
},
plugins: [],
// corePlugins: {
// gridTemplateColumns: false,
// }
}