-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
102 lines (101 loc) · 2.72 KB
/
tailwind.config.js
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
keyframes: {
animatedBeam: {
"100%": { offsetDistance: "100%" },
},
heroScroller: {
"0%": {
transform: "translateY(0)",
},
"100%": {
transform: "translateY(-100%)",
},
},
beamMask: {
from: { x: "-100%" },
to: { x: "100%" },
},
"brand-scroller": {
from: {
transform: "translateX(0%)",
},
to: {
transform: "translateX(-55%)",
},
},
"brand-scroller-vertical": {
from: {
transform: "translateY(0%)",
},
to: {
transform: "translateY(-55%)",
},
},
marquee: {
"0%": {
transform: "translateX(0%)",
},
"100%": {
transform: "translateX(calc(-100% - var(--gap)))",
},
},
starScale: {
"from, to": {
transform: "rotate(0) scale(0)",
opacity: 0,
},
"50%": {
transform: "rotate(180deg) scale(1)",
opacity: 1,
},
},
meteor: {
"0%": { transform: "rotate(215deg) translateX(0)", opacity: 1 },
"70%": { opacity: 1 },
"100%": {
transform: "rotate(215deg) translateX(-500px)",
opacity: 0,
},
},
},
animation: {
heroScroller: "heroScroller 170s linear infinite",
animatedBeam: "animatedBeam 7s linear infinite",
beamMask: "beamMask 1s linear infinite",
brandScroller: "brand-scroller 30s linear infinite",
brandScrollerVertical: "brand-scroller-vertical 30s linear infinite",
marquee: "marquee 30s linear infinite",
starScale: "starScale 800ms ease infinite",
meteor: "meteor 0.2s linear infinite",
},
boxShadow: {
"glow-white": "0 0 10px rgba(255, 255, 255, 0.5)",
"glow-blue": "0 0 10px rgba(59, 130, 246, 0.5)",
},
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
fontSize: {
xsm: "0.6rem",
sm: "0.8rem",
base: "1rem",
xl: "1.25rem",
"2xl": "1.563rem",
"3xl": "1.953rem",
"4xl": "2.441rem",
"5xl": "3.052rem",
},
},
},
plugins: [],
};