-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
82 lines (75 loc) · 1.86 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
module.exports = {
purge: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
"./container/**/*.{js,ts,jsx,tsx}",
],
darkMode: false, // or 'media' or 'class'
theme: {
screens: {
sm: "640px",
// => @media (min-width: 640px) { ... }
md: "768px",
// => @media (min-width: 768px) { ... }
lg: "1024px",
// => @media (min-width: 1024px) { ... }
"2lg": "1280px",
xl: "1921px",
// => @media (min-width: 1921px) { ... }
"2xl": "2560px",
// => @media (min-width: 1536px) { ... }
},
extend: {
dropShadow: {
"3xl": "0 0 5px rgba(0, 0, 0, 0.1)",
},
spacing: {
18: "4.5rem",
72: "18rem",
84: "21rem",
96: "24rem",
100: "25.5rem",
104: "27rem",
112: "30rem",
128: "34rem",
146: "146px",
156: "41rem",
260: "260px",
275: "275px",
},
lineHeight: {
button: "32px",
},
scale: {
101: "1.01",
102: "1.02",
},
colors: {
primary: "#FDEAA7",
primaryLight: "#FFF5D1",
primaryDark: "#BF4904",
secondary: "#B72E73",
secondaryLight: "#D5264E",
secondaryDark: "#8739B0",
ctaYellow: "#F6CB22",
ctaYellowLight: "#FFD324",
},
backgroundImage: (theme) => ({
footer: "url('/images/footer-bg.svg')",
"mobile-footer": "url('/images/mobile-footer-bg.svg')",
"mobile-content": "url('/images/mobile-bg.svg')",
}),
fontFamily: {
landing: ["Avenir Next LT Pro", "sans-serif"],
},
},
},
variants: {
extend: {
opacity: ["disabled"],
backgroundColor: ["disabled"],
cursor: ["disabled"],
},
},
plugins: [require("@tailwindcss/forms"), require("@tailwindcss/line-clamp")],
};