-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtailwind.config.js
53 lines (53 loc) · 1.25 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
module.exports = {
purge: ["./src/**/*.{js,jsx,ts,tsx}"],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
colors: {
yellow: "#FFD329",
blue: {
DEFAULT: "#468FCC",
light: "#92B9DA",
dark: "#0A4C84",
},
red: "#EF4438",
dark: "#222222",
light: "#F8F8F8",
text: "#303030",
gray: {
DEFAULT: "#EEEEEE",
dark: "#666666",
},
},
fontFamily: {
effra: "Effra, sans-serif",
effraMd: "Effra Medium, sans-serif",
rubik: "Rubik, sans-serif",
},
borderWidth: {
bar: "40px",
},
fontSize: {
xs: [".75rem", { lineHeight: "1rem" }],
sm: [".875rem", { lineHeight: "1.25rem" }],
body: ["1rem", { lineHeight: "1.5rem" }],
subtitle: ["1.5rem", { lineHeight: "1.75rem" }],
h4: ["2rem", { lineHeight: "2.4rem" }],
h3: ["3rem", { lineHeight: "3rem" }],
h2: ["3.5rem", { lineHeight: "4.2rem" }],
h1: ["4rem", { lineHeight: "4.8rem" }],
},
spacing: {
70: "70px",
},
maxWidth: {
1140: "1140px",
1340: "1340px",
},
},
},
variants: {
extend: {},
},
plugins: [],
}