-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtailwind.config.js
More file actions
50 lines (50 loc) · 1.44 KB
/
tailwind.config.js
File metadata and controls
50 lines (50 loc) · 1.44 KB
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
`./src/pages/*.{js,jsx,ts,tsx}`,
`./src/components/*.{js,jsx,ts,tsx}`,
`./src/design-system/*.{js,jsx,ts,tsx}`,
`./src/features/**/*.{js,jsx,ts,tsx}`,
`./src/containers/**/*.{js,jsx,ts,tsx}`,
`./src/dynamic-pages/**/*.{js,jsx,ts,tsx}`,
`./src/modules/**/*.{js,jsx,ts,tsx}`,
],
darkMode: `class`,
theme: {
extend: {
maxWidth: {
prose: `65ch`,
},
screens: {
tn: `400px`,
},
},
keyframes: {
"fade-in": {
"0%": { opacity: 0 },
"100%": { opacity: 1 },
},
"gradient-move": {
"0%": { backgroundPosition: `0% 50%` },
"50%": { backgroundPosition: `100% 50%` },
"100%": { backgroundPosition: `0% 50%` },
},
"slide-in-right": {
"0%": { transform: `translateX(100%)` },
"100%": { transform: `translateX(0)` },
},
"slide-in-bottom": {
"0%": { transform: `translateY(100%)` },
"100%": { transform: `translateY(0)` },
},
},
animation: {
"fade-in": `fade-in 0.3s ease-in-out forwards`,
"gradient-move": `gradient-move 8s ease-in-out infinite`,
"slide-in-right": `slide-in-right 0.23s ease-in-out forwards`,
"slide-in-bottom": `slide-in-bottom 0.23s cubic-bezier(0.4, 0.0, 0.2, 1) forwards`,
none: "none",
},
},
plugins: [require(`@tailwindcss/typography`)],
};