-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
42 lines (40 loc) · 1.02 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
const colors = require('tailwindcss/colors')
module.exports = {
purge: ['./src/**/*.{js,jsx,ts,tsx}', './public/index.html'],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
gradientColorStops: theme => ({
...theme('colors'),
'primary': '#4C1D95',
'secondary': '#34D399',
}),
minHeight: theme => ({
"screen/2": "50vh",
"screen/3": "calc(100vh / 3)",
"screen/4": "calc(100vh / 4)",
"screen/5": "calc(100vh / 5)",
}),
maxHeight: theme => ({
"screen/8": "80vw",
"screen/2": "50vh",
"screen/3": "calc(100vh / 3)",
"screen/4": "calc(100vh / 4)",
"screen/5": "calc(100vh / 5)",
}),
maxWidth: theme => ({
"screen4/5": "80vw",
}),
minWidth: theme => ({
"screen/2": "50vw",
"screen/3": "calc(100vw / 3)",
"screen/4": "calc(100vw / 4)",
"screen/5": "calc(100vw / 5)",
}),
},
},
variants: {
extend: {},
},
plugins: [],
}