-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
90 lines (88 loc) · 2.01 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
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
import { type Config } from "tailwindcss";
import plugin from "tailwindcss/plugin"
export default {
content: ["./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
fontFamily: {
avenir: ["var(--font-avenir)"],
},
keyframes: {
loaderWhite: {
"0%": {
right: "100%",
left: "0%",
width: '15vw',
transform: "translateX(-100%)",
},
"50%,100%": {
width: '15vw',
transform: "translateX(0)",
left: "100%",
right: "0%"
},
},
loaderBlue: {
"0%": {
right: "100%",
left: "0%",
width: '15vw',
transform: "translateX(-100%)",
},
"50%,100%": {
transform: "translateX(0)",
width: '25vw',
left: "100%",
right: "0%"
},
},
loaderYellow: {
"0%": {
right: "100%",
left: "0%",
width: '10vw',
transform: "translateX(-100%)",
},
"50%,100%": {
transform: "translateX(0)",
width: '7vw',
left: "100%",
right: "0%"
},
},
loaderRed: {
"0%": {
right: "100%",
left: "0%",
width: '15vw',
transform: "translateX(-100%)",
},
"50%,100%": {
transform: "translateX(0)",
width: '15vw',
left: "100%",
right: "0%"
},
}
}
},
},
plugins: [
plugin(({ addComponents, matchUtilities }) => {
matchUtilities({
"grid-area": value => ({
gridArea: value
}),
})
addComponents({
".no-scrollbar": {
msOverflowStyle: "none",
scrollbarWidth: "none",
"&::-webkit-scrollbar": {
display: "none",
},
},
});
}),
],
} satisfies Config;