-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
63 lines (61 loc) · 1.39 KB
/
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
import { transform } from "next/dist/build/swc";
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/sections/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
screens: {
sm: "375px",
md: "768px",
lg: "1200px",
},
container: {
center: true,
padding: {
DEFAULT: "1rem", // 16px
md: "2rem",
},
},
extend: {
fontFamily: {
sans: "var(--font-sans)",
serif: "var(--font-serif)",
},
animation: {
"ping-large": "ping-large 1s ease-in-out infinite",
"move-left": "move-left 1s linear infinite",
"move-right": "move-right 1s linear infinite",
},
keyframes: {
"ping-large": {
"75%,100%": {
transform: "scale(3)",
opacity: "0",
},
},
"move-left": {
"0%": {
transform: "translateX(0%)",
},
"100%": {
transform: "translateX(-50%)",
},
},
"move-right": {
"0%": {
transform: "translateX(-50%)",
},
"100%": {
transform: "translateX(0%)",
},
},
},
},
},
plugins: [],
};
export default config;