-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
126 lines (125 loc) · 2.53 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
126
/* eslint-disable @typescript-eslint/no-var-requires */
/* eslint-disable import/no-extraneous-dependencies */
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
purge: false, /* handled in postcss.config.js */
future: {
defaultLineHeights: true,
purgeLayersByDefault: true,
removeDeprecatedGapUtilities: true,
standardFontWeights: true,
},
theme: {
fontFamily: {
sans: ['Avenir', ...defaultTheme.fontFamily.sans],
},
minHeight: {
0: '0',
4: '1rem',
8: '2rem',
12: '3rem',
16: '4rem',
20: '5rem',
full: '100%',
'1/4-screen': '25vh',
'1/2-screen': '50vh',
'3/4-screen': '75vh',
screen: '100vh',
},
maxHeight: {
0: '0',
4: '1rem',
8: '2rem',
12: '3rem',
16: '4rem',
20: '5rem',
24: '6rem',
32: '8rem',
40: '10rem',
48: '12rem',
56: '14rem',
64: '16rem',
72: '18rem',
80: '20rem',
full: '100%',
screen: '100vh',
},
minWidth: {
0: '0',
'1/8': '12%',
'1/6': '17%',
'1/4': '25%',
'1/2': '50%',
'3/4': '75%',
full: '100%',
},
extend: {
spacing: {
72: '18rem',
84: '21rem',
96: '24rem',
xs: '20rem',
sm: '24rem',
md: '28rem',
lg: '32rem',
xl: '36rem',
},
width: {
'1/7': '14.2857143%',
'2/7': '28.5714286%',
'3/7': '42.8571429%',
'4/7': '57.1428571%',
'5/7': '71.4285714%',
'6/7': '85.7142857%',
'1/8': '12.5%',
'3/8': '37.5%',
'5/8': '62.5%',
'7/8': '87.5%',
'10%': '10%',
'20%': '20%',
'30%': '30%',
'40%': '40%',
'50%': '50%',
'60%': '60%',
'70%': '70%',
'80%': '80%',
'90%': '90%',
},
inset: {
2: '0.5rem',
4: '1rem',
6: '1.5rem',
8: '2rem',
10: '2.5rem',
12: '3rem',
14: '3.5rem',
16: '4rem',
18: '4.5rem',
20: '5rem',
22: '5.5rem',
24: '6rem',
},
zIndex: {
60: 60,
70: 70,
80: 80,
90: 90,
100: 100,
200: 200,
300: 300,
400: 400,
500: 500,
600: 600,
700: 700,
800: 800,
900: 900,
1000: 1000,
},
},
},
variants: {
display: ['responsive', 'group-hover'],
textColor: ['group-hover'],
},
plugins: [],
};