-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
139 lines (138 loc) · 3.96 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
127
128
129
130
131
132
133
134
135
136
137
138
139
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
purge: [
'./storage/framework/views/*.php',
'./resources/**/*.blade.php',
'./resources/**/*.js',
'./resources/**/*.vue',
],
darkMode: 'media', // or 'media' or 'class'
theme: {
extend: {
screens: {
xs: '375px',
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
},
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans],
},
height: {
'1/10': '10%',
'2/10': '20%',
'3/10': '30%',
'4/10': '40%',
'5/10': '50%',
'6/10': '60%',
'7/10': '70%',
'8/10': '80%',
'9/10': '90%',
},
spacing: {
120: '30rem',
125: '31.25rem',
130: '32.5rem',
135: '33.75rem',
140: '35rem',
145: '36.25rem',
150: '37.5rem',
155: '38.75rem',
160: '40rem',
},
maxHeight: {
'0': '0',
'1/6': '16.666667%',
'1/5': '20%',
'1/4': '25%',
'1/3': '33.333333%',
'2/6': '33.333333%',
'2/5': '40%',
'1/2': '50%',
'3/6': '50%',
'3/5': '60%',
'2/3': '66.666667%',
'4/6': '66.666667%',
'3/4': '75%',
'4/5': '80%',
'5/6': '83.333333%',
'1/10': '10%',
'2/10': '20%',
'3/10': '30%',
'4/10': '40%',
'5/10': '50%',
'6/10': '60%',
'7/10': '70%',
'8/10': '80%',
'9/10': '90%',
'full': '100%',
},
width: {
'0': '0',
'1/6': '16.666667%',
'1/5': '20%',
'1/4': '25%',
'1/3': '33.333333%',
'2/6': '33.333333%',
'2/5': '40%',
'1/2': '50%',
'3/6': '50%',
'3/5': '60%',
'2/3': '66.666667%',
'4/6': '66.666667%',
'3/4': '75%',
'4/5': '80%',
'5/6': '83.333333%',
'1/10': '10%',
'2/10': '20%',
'3/10': '30%',
'4/10': '40%',
'5/10': '50%',
'6/10': '60%',
'7/10': '70%',
'8/10': '80%',
'9/10': '90%',
'full': '100%',
},
maxWidth: {
'0': '0',
'150': '150px',
'1/6': '16.666667%',
'1/5': '20%',
'1/4': '25%',
'1/3': '33.333333%',
'2/6': '33.333333%',
'2/5': '40%',
'1/2': '50%',
'3/6': '50%',
'3/5': '60%',
'2/3': '66.666667%',
'4/6': '66.666667%',
'3/4': '75%',
'4/5': '80%',
'5/6': '83.333333%',
'1/10': '10%',
'2/10': '20%',
'3/10': '30%',
'4/10': '40%',
'5/10': '50%',
'6/10': '60%',
'7/10': '70%',
'8/10': '80%',
'9/10': '90%',
'full': '100%',
}
},
},
variants: {
extend: {
textOpacity: ['dark']
}
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/typography'),
],
}