-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
75 lines (74 loc) · 1.45 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
const plugin = require("tailwindcss/plugin");
module.exports = {
purge: ["./pages/**/*.{js,ts,jsx,tsx}", "./components/**/*.{js,ts,jsx,tsx}"],
darkMode: false, // or 'media' or 'class'
theme: {
screens: {
xs: "500px",
sm: "640px",
md: "768px",
lg: "1024px",
xl: "1280px",
"2xl": "1536px",
"3xl": "2000px",
"4xl": "2250px",
"5xl": "3000px",
"6xl": "3200px",
},
extend: {
colors: {
white: {
150: "#FEFEFE",
175: "#F2F4F3",
},
gray: {
120: "#c9d1cd",
125: "#e0e5e3",
150: "#F5F9FA",
175: "#f4f2f3",
},
blue: {
125: "#6AA7B3",
},
orange: {
125: "#F04C0F",
},
},
},
minHeight: {
0: "0",
"1/4": "25%",
"1/2": "50%",
"3/4": "75%",
screen: "100vh",
full: "100%",
card: "200px",
column: "500px",
},
minWidth: {
0: "0",
"1/4": "25vw",
"1/2": "50vw",
"3/4": "75vw",
full: "100%",
card: "18rem",
},
},
variants: {
extend: {
opacity: ["disabled"],
},
},
corePlugins: {
outline: false,
},
plugins: [
plugin(function ({ addBase, theme }) {
addBase({
h1: { fontSize: theme("fontSize.2xl") },
h2: { fontSize: theme("fontSize.xl") },
h3: { fontSize: theme("fontSize.lg") },
});
}),
],
};