-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
58 lines (57 loc) · 1.88 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
import { heroui } from "@heroui/theme";
import type { Config } from "tailwindcss";
export default {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
"./node_modules/@heroui/theme/dist/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
backgroundImage: {
"light-grid":
"linear-gradient(to right, #D4D4D82e 1px, transparent 1px), linear-gradient(to bottom, #D4D4D82e 1px, transparent 1px)",
"dark-grid":
"linear-gradient(to right, #3F3F462e 1px, transparent 1px), linear-gradient(to bottom, #3F3F462e 1px, transparent 1px)",
},
animation: {
ripple: "ripple var(--duration,2s) ease calc(var(--i, 0)*.2s) infinite",
marquee: "marquee var(--duration) linear infinite",
"shiny-text": "shiny-text 8s infinite",
"marquee-vertical": "marquee-vertical var(--duration) linear infinite",
},
keyframes: {
"shiny-text": {
"0%, 90%, 100%": {
"background-position": "calc(-100% - var(--shiny-width)) 0",
},
"30%, 60%": {
"background-position": "calc(100% + var(--shiny-width)) 0",
},
},
"marquee-vertical": {
from: { transform: "translateY(0)" },
to: { transform: "translateY(calc(-100% - var(--gap)))" },
},
marquee: {
from: { transform: "translateX(0)" },
to: { transform: "translateX(calc(-100% - var(--gap)))" },
},
ripple: {
"0%, 100%": {
transform: "translate(-50%, -50%) scale(1)",
},
"50%": {
transform: "translate(-50%, -50%) scale(0.9)",
},
},
},
fontFamily: {
sans: ["Oswald", "oswald"],
},
},
},
darkMode: "class",
plugins: [heroui()],
} satisfies Config;