-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
38 lines (38 loc) · 979 Bytes
/
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: {
files: ["*.html", "./src/**/*.rs"],
},
safelist: ["border", "text", "bg"]
.flatMap((s) => ["red", "blue", "gray"].map((c) => `${s}-${c}`))
.flatMap((s) =>
["400", "500", "600", "700", "800", "900", "950"].map((n) => `${s}-${n}`)
)
.flatMap((s) => ["", "hover:", "active:", "focus:"].map((m) => `${m}${s}`))
.flatMap((s) => ["", "dark:"].map((m) => `${m}${s}`)).concat(
["cursor-default", "cursor-wait", "cursor-grabbing"]
),
theme: {
extend: {
boxShadow: {
right: "4px 0 6px -1px rgb(0 0 0 / 0.1)",
},
colors: {
neutral: {
750: "#333333",
},
},
animation: {
'reverse-spin': 'reverse-spin 1s linear infinite'
},
keyframes: {
'reverse-spin': {
from: {
transform: 'rotate(360deg)'
},
}
}
},
},
plugins: [],
};