-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
tailwind.config.js
89 lines (89 loc) · 2.84 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
86
87
88
89
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx}",
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
fontFamily: {
inter: ["Inter", "sans-serif"],
mono: ["Roboto Mono", "monospace"],
},
fontSize: {
xs: ["0.75rem", { lineHeight: "1.5" }],
sm: ["0.875rem", { lineHeight: "1.5715" }],
base: ["1rem", { lineHeight: "1.5", letterSpacing: "-0.017em" }],
lg: ["1.125rem", { lineHeight: "1.5", letterSpacing: "-0.017em" }],
xl: ["1.25rem", { lineHeight: "1.5", letterSpacing: "-0.017em" }],
"2xl": ["1.5rem", { lineHeight: "1.415", letterSpacing: "-0.037em" }],
"3xl": [
"1.875rem",
{ lineHeight: "1.3333", letterSpacing: "-0.037em" },
],
"4xl": ["2.25rem", { lineHeight: "1.2777", letterSpacing: "-0.037em" }],
"5xl": ["3rem", { lineHeight: "1", letterSpacing: "-0.037em" }],
"6xl": ["4rem", { lineHeight: "1", letterSpacing: "-0.037em" }],
"7xl": ["4.5rem", { lineHeight: "1", letterSpacing: "-0.037em" }],
},
keyframes: {
"code-1": {
"0%": { opacity: 0 },
"2.5%": { opacity: 1 },
"97.5%": { opacity: 1 },
"100%": { opacity: 0 },
},
"code-2": {
"16.2%": { opacity: 0 },
"18.75%": { opacity: 1 },
"97.5%": { opacity: 1 },
"100%": { opacity: 0 },
},
"code-3": {
"32.5%": { opacity: 0 },
"35%": { opacity: 1 },
"97.5%": { opacity: 1 },
"100%": { opacity: 0 },
},
"code-4": {
"48.75%": { opacity: 0 },
"51.25%": { opacity: 1 },
"97.5%": { opacity: 1 },
"100%": { opacity: 0 },
},
"code-5": {
"65%": { opacity: 0 },
"72.5%": { opacity: 1 },
"97.5%": { opacity: 1 },
"100%": { opacity: 0 },
},
"code-6": {
"81.25%": { opacity: 0 },
"83.75%": { opacity: 1 },
"97.5%": { opacity: 1 },
"100%": { opacity: 0 },
},
breath: {
"0%, 100%": { transform: "scale(0.95)" },
"50%": { transform: "scale(1.1)" },
},
float: {
"0%, 100%": { transform: "translateY(0)" },
"50%": { transform: "translateY(-5%)" },
},
line: {
"0%, 100%": { left: 0, opacity: 0 },
"50%": { left: "100%", transform: "translateX(-100%)" },
"10%, 40%, 60%, 90%": { opacity: 0 },
"25%, 75%": { opacity: 1 },
},
"infinite-scroll": {
from: { transform: "translateX(0)" },
to: { transform: "translateX(-100%)" },
},
},
},
},
plugins: [require("@tailwindcss/forms")],
};