forked from BrianRuizy/b-r.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
58 lines (58 loc) · 1.39 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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ["class"],
content: [
"./pages/**/*.{ts,tsx}",
"./components/**/*.{ts,tsx}",
"./app/**/*.{ts,tsx}",
"./src/**/*.{ts,tsx}",
],
theme: {
container: {
center: true,
padding: "2rem",
screens: {
"2xl": "1400px",
},
},
extend: {
textColor: {
primary: "var(--gray-12)",
secondary: "var(--gray-11)",
tertiary: "var(--gray-9)",
brand: "var(--brand)",
link: "var(--blue-10)",
},
backgroundColor: {
primary: "var(--gray-1)",
secondary: "var(--gray-4)",
secondaryA: "var(--gray-a4)",
tertiary: "var(--gray-3)",
},
borderColor: {
primary: "var(--gray-6)",
secondary: "var(--gray-4)",
},
ringOffsetColor: {
primary: "var(--gray-12)",
},
keyframes: {
in: {
"0%": { transform: "translateY(18px)", opacity: 0 },
"100%": { transform: "translateY(0)", opacity: 1 },
},
"in-reverse": {
"0%": { transform: "translateY(-18px)", opacity: 0 },
"100%": { transform: "translateY(0px)", opacity: 1 },
},
},
animation: {
in: "in .6s both",
"in-reverse": "in-reverse .6s both",
},
},
},
plugins: [
require("@tailwindcss/typography"),
],
};