/
tailwind.config.js
85 lines (84 loc) · 1.91 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
83
84
85
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
purge: [
"./components/**/*.{js,ts,jsx,tsx}",
"./pages/**/*.{js,ts,jsx,tsx}",
"./layouts/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
fontFamily: {
sans: ["Inter", ...defaultTheme.fontFamily.sans],
},
colors: {
gray: {
...defaultTheme.colors.gray,
950: "#161B25",
},
back: {
primary: "#0C111C",
secondary: "#111827",
},
},
height: {
80: "20rem",
90: "22.5rem",
featured: "28rem",
},
width: {
120: "30rem",
160: "40rem",
},
letterSpacing: {
wiiddee: ".25em",
},
zIndex: {
"-10": "-10",
},
scale: {
80: ".8",
},
},
typography: {
default: {
css: {
color: defaultTheme.colors.gray[500],
a: {
color: defaultTheme.colors.gray[500],
"&:hover": {
color: defaultTheme.colors.teal[300],
},
},
h1: {
color: defaultTheme.colors.gray[400],
},
h2: {
color: defaultTheme.colors.gray[400],
},
h3: {
color: defaultTheme.colors.gray[400],
},
h4: {
color: defaultTheme.colors.gray[400],
},
strong: {
color: defaultTheme.colors.gray[500],
},
},
},
lg: {
css: {
h2: {
fontSize: defaultTheme.fontSize.lg,
},
},
},
},
},
variants: {
textColor: ["responsive", "hover", "focus", "group-focus", "group-hover"],
scale: ["responsive", "hover", "focus", "active", "group-hover"],
opacity: ["responsive", "hover", "focus", "active", "group-hover"],
},
plugins: [require("@tailwindcss/typography")],
};