-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
49 lines (48 loc) · 1.4 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
const colors = require("tailwindcss/colors")
// tailwind.config.js
module.exports = {
mode: "jit",
purge: ["{app,pages}/**/*.{js,jsx,ts,tsx}"],
darkMode: false, // or 'media' or 'class'
important: true,
theme: {
colors: {
transparent: "transparent",
current: "currentColor",
black: "#000",
white: "#FFF",
gray: colors.gray,
green: colors.green,
indigo: colors.indigo,
red: colors.red,
},
fontSize: {
xxs: "0.75rem", // 12px
xs: ["0.8125rem", "1.1375rem"], // 13px
sm: ["0.9rem"], // 14px
base: ["0.9375rem"], // "1.375rem"], // 15px
lg: ["1.0625rem", "1.5625rem"], // 17px
xl: ["1.25rem", "2rem"], // 20px
"2xl": ["1.5rem", "1.875rem"], // 24px
"3xl": ["2rem", "2.4375rem"], // 32px
"4xl": "2.375rem", // 38px
"5xl": ["2.8125rem", "4.025rem"], // 45px
"5xl-squashed": ["2.8125rem", "3.0938rem"],
"6xl": ["5.625rem", "6.75rem"], // 62px
h2: ["2.6rem"],
h3: ["1.8rem"],
h4: ["1.5rem"],
},
screens: {
sm: "640px", // => @media (min-width: 640px) { ... }
md: "768px", // => @media (min-width: 768px) { ... }
lg: "1024px", // => @media (min-width: 1024px) { ... }
xl: "1280px", // => @media (min-width: 1280px) { ... }
"2xl": "1536px", // => @media (min-width: 1536px) { ... }
},
extend: {},
},
variants: {
extend: {},
},
}