forked from noobnooc/noobnooc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
58 lines (56 loc) · 1.27 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
/** @type {import('tailwindcss').Config} */
const brandColors = {
typescript: "#3178C6",
swift: "#F05138",
sketch: "#F7B500",
blender: "#F5792A",
switch: "#E60012",
netflix: "#E50914",
photography: "#0ea5e9",
twitter: "#1DA1F2",
github: "#a855f7",
instagram: "#E4405F",
email: "#f97316",
};
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
"./app/**/*.{js,ts,jsx,tsx}",
],
safelist: [
...Object.entries(brandColors).flatMap(([name]) => [
`bg-${name}`,
`text-${name}`,
`hover:bg-${name}`,
`hover:text-${name}`,
]),
],
theme: {
extend: {
colors: {
...brandColors,
},
animation: {
fluid: "5s linear 0s infinite alternate fluid",
},
keyframes: {
fluid: {
"0%": {
transform: "rotate(0deg) scale(1, 1)",
filter: "blur(5rem) hue-rotate(0deg)",
},
"50%": {
transform: "rotate(60deg) scale(1.5, 1.2)",
filter: "blue(10rem) hue-rotate(40deg)",
},
"100%": {
transform: "rotate(90deg) scale(1, 1.5)",
filter: "blur(8rem) hue-rotate(-30deg)",
},
},
},
},
},
plugins: [],
};