-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
39 lines (34 loc) · 931 Bytes
/
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
module.exports = {
purge: ["./src/**/*.{js,jsx,ts,tsx}", "./public/index.html"],
darkMode: false, // or 'media' or 'class'
theme: {
screens: {
sm: "375px",
// => @media (min-width: 375px) { ... }
md: "650px",
// => @media (min-width: 650px) { ... }
lg: "1024px",
// => @media (min-width: 1024px) { ... }
xl: "1280px",
// => @media (min-width: 1280px) { ... }
"2xl": "1536px",
// => @media (min-width: 1536px) { ... }
},
extend: {
gridTemplateRows: {
// Simple 8 row grid
8: "repeat(auto-fit, minmax(96px, 1fr))",
// Complex site-specific row configuration
layout: " repeat(minmax(200px, 1fr)) ",
},
gridAutoRows: {
/* '2fr': 'minmax(96px, 1fr)', */
"3fr": "minmax(135.2px, 1fr)",
},
},
},
variants: {
extend: {}
},
plugins: [require("@tailwindcss/forms")],
};