-
Notifications
You must be signed in to change notification settings - Fork 40
/
tailwind.config.js
66 lines (66 loc) · 1.64 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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ["class"],
content: [
"./pages/**/*.{ts,tsx}",
"@/app/components/**/*.{ts,tsx}",
"./app/**/*.{ts,tsx}",
"./src/**/*.{ts,tsx}",
],
theme: {
container: {
center: true,
padding: "2rem",
screens: {
"2xl": "1400px",
},
},
extend: {
fontFamily: {
sans: ['var(--font-geist-sans)'],
mono: ['var(--font-geist-mono)'],
},
textColor: {
primary: "var(--gray-12)",
secondary: "var(--gray-11)",
tertiary: "var(--gray-9)",
link: "var(--blue-11)",
},
backgroundColor: {
contrast: "var(--contrast-color)",
primary: "var(--gray-1)",
secondary: "var(--gray-2)",
tertiary: "var(--gray-3)",
},
borderColor: {
primary: "var(--gray-6)",
secondary: "var(--gray-3)",
},
divideColor: {
primary: "var(--gray-6)",
secondary: "var(--gray-3)",
},
ringOffsetColor: {
primary: "var(--gray-12)",
},
boxShadow: {
soft: "0 15px 30px 0 rgba(0, 0, 0, 0.04)",
},
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")],
};