-
Notifications
You must be signed in to change notification settings - Fork 140
/
tailwind.config.ts
46 lines (44 loc) · 985 Bytes
/
tailwind.config.ts
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
import type { Config } from "tailwindcss"
const colors = require("tailwindcss/colors")
const config: Config = {
darkMode: ["class"],
content: ["./pages/**/*.{ts,tsx}", "./components/**/*.{ts,tsx}", "./app/**/*.{ts,tsx}", "./src/**/*.{ts,tsx}"],
future: {
hoverOnlyWhenSupported: true,
},
theme: {
container: {
center: true,
padding: "2rem",
screens: {
"2xl": "1400px",
},
},
extend: {
colors: {
gray: {
...colors.neutral,
},
},
transitionDuration: {
"1200": "1200ms",
"1500": "1500ms",
},
keyframes: {
shimmer: {
"0%": {
transform: "translateX(-100%)",
},
"100%": {
transform: "translateX(100%)",
},
},
},
animation: {
shimmer: "shimmer 2s ease-in-out infinite",
},
},
},
plugins: [require("tailwindcss-animate")],
}
export default config