-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
30 lines (30 loc) · 1.03 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
module.exports = {
content: ["./index.html", "./src/**/*.rs"],
theme: {
fontFamily: {
'rust': ["Alfa Slab One", "serif"]
},
extend: {
keyframes: {
color_change: {
"0%": { "background-color": "rgb(67 56 202)" },
"50%": { "background-color": "rgb(225 29 72)" },
"100%": { "background-color": "rgb(245 158 11)" }
},
color_change_reverse: {
"0%": { "background-color": "rgb(245 158 11)" },
"50%": { "background-color": "rgb(225 29 72)" },
"100%": { "background-color": "rgb(67 56 202)" }
}
},
animation: {
color_change: "color_change 0.5s ease-in forwards",
color_change_reverse: "color_change_reverse 0.5s ease-in forwards"
}
},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
]
}