-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
78 lines (75 loc) · 1.45 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
module.exports = {
purge: false,
theme: {
extend: {
colors: {
lightblue: '#18A0FB', // an example of extending tailwind
darkgray: '#1D2530',
},
borderRadius: {
20: '20px',
},
boxShadow: {
'3xl': '28px 2px 18px 10px #101010',
},
fontSize: {
'15r': '15rem',
'10r': '10rem',
},
spacing: {
'0.08': '0.08rem',
'-20r': '-20rem',
'-10': '-10rem',
'0.2': '0.1rem',
},
height: {
'120' : '120vh'
},
width: {
'300p': '300px',
'40%': '40%',
'60r': '60rem',
},
minHeight: {
'10': '2.5rem',
'16': '4rem',
full: '100%',
},
maxHeight: {
'70': '17rem',
},
minWidth: {
'20': '7rem',
full: '100%',
},
maxWidth: {
'70': '27rem',
full: '100%',
},
inset: {
'10%': '10%',
'60vh': '60vh',
},
screens: {
x910: { max: '910px' },
},
skew: {
'-20': '-20deg',
},
},
},
variants: {
scale: ['hover'],
backgroundColor: ['responsive', 'hover', 'focus', 'active'],
},
plugins: [
function ({ addComponents }) {
const buttons = {
'.main-gradient': {
background: 'linear-gradient(270deg, #ffb421 11.7%, #ff7521 90.81%)',
},
};
addComponents(buttons);
},
],
};