-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
69 lines (69 loc) · 2.25 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.tsx"],
theme: {
extend: {
colors: {
accent: "var(--theme-color)",
"accent-emphasis": "var(--theme-color)",
"calendar-L1": "var(--color-calendar-graph-day-L1-bg)",
"calendar-L2": "var(--color-calendar-graph-day-L2-bg)",
"calendar-L3": "var(--color-calendar-graph-day-L3-bg)",
"calendar-L4": "var(--color-calendar-graph-day-L4-bg)",
},
boxShadow: {
search: "0 1px 6px rgb(32 33 36 / 28%)",
},
keyframes: {
shine: {
"0%": {
backgroundRepeat: "no-repeat",
backgroundImage: `-webkit-linear-gradient(
top left,
rgba(250, 250, 250, 0.0) 0%,
rgba(250, 250, 250, 0.0) 45%,
rgba(250, 250, 250, 0.3) 48%,
rgba(250, 250, 250, 0.5) 50%,
rgba(250, 250, 250, 0.3) 52%,
rgba(250, 250, 250, 0.0) 57%,
rgba(250, 250, 250, 0.0) 100%
)`,
backgroundPosition: "-200px -200px",
backgroundSize: "300px 300px",
},
"100%": {
backgroundRepeat: "no-repeat",
backgroundPosition: "125px 125px",
},
},
"shine-xl": {
"0%": {
backgroundRepeat: "no-repeat",
backgroundImage: `-webkit-linear-gradient(
top left,
rgba(250, 250, 250, 0.0) 0%,
rgba(250, 250, 250, 0.0) 45%,
rgba(250, 250, 250, 0.3) 48%,
rgba(250, 250, 250, 0.5) 50%,
rgba(250, 250, 250, 0.3) 52%,
rgba(250, 250, 250, 0.0) 57%,
rgba(250, 250, 250, 0.0) 100%
)`,
backgroundPosition: "-1143px -1143px",
backgroundSize: "1714px 1714px",
},
"100%": {
backgroundRepeat: "no-repeat",
backgroundPosition: "714px 714px",
},
},
},
animation: {
shine: "shine 5s ease-in-out infinite",
"shine-xl": "shine-xl 5s ease-in-out infinite",
rotate: "rotate 1s ease-in-out",
},
},
},
plugins: [require("@tailwindcss/line-clamp")],
}