-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
48 lines (47 loc) · 1.16 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
module.exports = {
purge: [
"./components/**/*.{ts,tsx}",
"./utils/**/*.{ts,tsx}",
"./pages/**/*.{ts,tsx,md}",
"./posts/**/*.md",
],
theme: {
extend: {
maxWidth: {
10: "10rem",
},
},
container: {
center: true,
padding: {
default: "1rem",
},
},
fill: (theme) => ({
current: "currentColor",
"purple-500": theme("colors.purple.500"),
}),
},
variants: {},
plugins: [
function ({ addComponents }) {
addComponents({
".container": {
width: "100%",
"@screen sm": {
maxWidth: "640px",
},
"@screen md": {
maxWidth: "768px",
},
"@screen lg": {
maxWidth: "1000px",
},
"@screen xl": {
maxWidth: "1000px",
},
},
});
},
],
};