forked from nuts-foundation/nuts-webpresence
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
74 lines (74 loc) · 1.73 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
"dark-gray": "#101828",
brand: "#D15949",
stroke: "#E0E0E0",
button: "#FEC248",
"button-hover": "#CB9B3A",
dark: "#B24A3B",
darker: "#7D352C",
light: "#F1F9FB",
"menu-hover": "#FFE4CB",
text: "#272727",
link: "#027FDD",
linkHover: "#166fb2"
},
fontFamily: {
redhat: "Red Hat Display",
inter: "Inter"
},
container: {
padding: {
DEFAULT: "1rem",
"md": "1.5rem",
"xl": "6rem"
}
},
typography: (theme) => ({
DEFAULT: {
css: {
color: theme('colors.text'),
a: {
color: theme('colors.link'),
textDecoration: "none"
},
'a:hover': {
color: theme('colors.linkHover'),
textDecoration: "underline"
},
li: {
fontFamily: "Inter",
listStyle: "none",
fontSize: "1em"
},
p: {
fontFamily: "Inter",
fontSize: "1em"
},
h1: {
fontFamily: "Red Hat Display",
fontSize: "2.25em",
marginTop: "1rem",
marginBottom: "2.25rem"
},
h2: {
fontSize: "1.75em",
fontFamily: "Red Hat Display",
marginBottom: "1rem"
}
}
}
})
},
},
plugins: [
require("@tailwindcss/typography"),
],
}