generated from antfu-collective/vitesse
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtailwind.config.js
More file actions
60 lines (60 loc) · 1.63 KB
/
tailwind.config.js
File metadata and controls
60 lines (60 loc) · 1.63 KB
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
export default {
darkMode: "class",
content: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}"],
theme: {
container: {
center: true,
},
extend: {
colors: {
primary: "var(--color-primary)",
secondary: "var(--color-secondary)",
},
fontFamily: {
inter: ["Inter Variable", "sans-serif"],
jakarta: ["Plus Jakarta Sans Variable", "sans-serif"],
},
animation: {
"flip-element": "flip-element 6s infinite steps(2, end)",
"rotate-element": "rotate-element 3s linear infinite both",
"endless-wave": "endless-wave 20s linear infinite",
"background-shine": "background-shine 3s linear infinite",
"text-gradient": "text-gradient 1.5s linear infinite",
"infinite-scroll": "infinite-scroll 64s linear infinite",
},
keyframes: {
"flip-element": {
to: {
transform: "rotate(360deg)",
},
},
"rotate-element": {
to: {
transform: "rotate(90deg)",
},
},
"endless-wave": {
from: { transform: "translateY(0)" },
to: { transform: "translateY(-245px)" },
},
"background-shine": {
from: {
backgroundPosition: "0 0",
},
to: {
backgroundPosition: "-200% 0",
},
},
"text-gradient": {
to: {
backgroundPosition: "200% center",
},
},
"infinite-scroll": {
from: { transform: "translateX(0)" },
to: { transform: "translateX(-100%)" },
},
},
},
},
}