-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
113 lines (111 loc) · 2.86 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
const colors = require("tailwindcss/colors");
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
"./layouts/**/*.tsx",
"./lib/**/*.tsx",
],
darkMode: "class",
theme: {
typography: (theme) => ({
DEFAULT: {
css: {
color: theme("colors.gray.700"),
p: {
color: theme("colors.gray.700"),
"&:hover": {
color: theme("colors.gray.600"),
},
},
},
},
dark: {
css: {
color: theme("colors.gray.300"),
p: {
color: theme("colors.gray.100"),
"&:hover": {
color: theme("colors.gray.200"),
},
},
},
},
}),
extend: {
scale: {
'67.5': '0.675', // 100% - 32.5% = 67.5%
},
colors: {
transparent: "transparent",
current: "currentColor",
black: "#0e1012",
mild: "#27272a",
white: "#e8e5f0", // #e0e0e0
gray: colors.gray,
emerald: colors.emerald,
indigo: colors.indigo,
yellow: colors.yellow,
},
animation: {
marquee: "marquee 25s linear infinite",
marquee2: "marquee2 25s linear infinite",
first: "moveVertical 30s ease infinite",
second: "moveInCircle 20s reverse infinite",
third: "moveInCircle 40s linear infinite",
fourth: "moveHorizontal 40s ease infinite",
fifth: "moveInCircle 20s ease infinite",
},
keyframes: {
marquee: {
"0%": { transform: "translateX(0%)" },
"100%": { transform: "translateX(-100%)" },
},
marquee2: {
"0%": { transform: "translateX(100%)" },
"100%": { transform: "translateX(0%)" },
},
moveHorizontal: {
"0%": {
transform: "translateX(-50%) translateY(-10%)",
},
"50%": {
transform: "translateX(50%) translateY(10%)",
},
"100%": {
transform: "translateX(-50%) translateY(-10%)",
},
},
moveInCircle: {
"0%": {
transform: "rotate(0deg)",
},
"50%": {
transform: "rotate(180deg)",
},
"100%": {
transform: "rotate(360deg)",
},
},
moveVertical: {
"0%": {
transform: "translateY(-50%)",
},
"50%": {
transform: "translateY(50%)",
},
"100%": {
transform: "translateY(-50%)",
},
},
},
fontFamily: {
openSans: ["var(--font-open-sans)"],
ptSerif: ["var(--font-pt-serif)"],
bigilla: ["var(--font-bigilla)"],
fancy: ["Sriracha"],
},
},
},
plugins: [require("@tailwindcss/typography")],
};