-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
64 lines (62 loc) · 1.7 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
64
import type { Config } from "tailwindcss";
import { nextui } from "@nextui-org/react";
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
animation: {
"infinite-scroll": "infinite-scroll 25s linear infinite",
wave: "wave 2.5s infinite",
wiggle: "wiggle 0.3s ease-in-out",
},
keyframes: {
"infinite-scroll": {
from: { transform: "translateX(0)" },
to: { transform: "translateX(-100%)" },
},
wave: {
"0%": { transform: "rotate(0deg)" },
"10%": { transform: "rotate(14deg)" },
"20%": { transform: "rotate(-8deg)" },
"30%": { transform: "rotate(14deg)" },
"40%": { transform: "rotate(-4deg)" },
"50%": { transform: "rotate(10deg)" },
"60%": { transform: "rotate(0deg)" },
"100%": { transform: "rotate(0deg)" },
},
wiggle: {
"0%, 100%": { transform: "rotate(0deg)" },
"25%": { transform: "rotate(-10deg)" },
"50%": { transform: "rotate(10deg)" },
"75%": { transform: "rotate(-5deg)" },
},
},
},
},
darkMode: "class",
plugins: [
nextui({
addCommonColors: true,
themes: {
light: {
colors: {
primary: "#e95b7b",
secondary: "#006FEE",
},
},
dark: {
colors: {
primary: "#e95b7b",
secondary: "#006FEE",
},
},
},
}),
],
};
export default config;