-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
48 lines (48 loc) · 1.57 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
/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
backgroundImage: {
"blue-gradient": "linear-gradient(180deg, #A8D7FF 0%, #6171FF 100%)",
"orange-gradient": "linear-gradient(180deg, #FFC677 0%, #FF9500 100%)",
"pink-gradient": "linear-gradient(180deg, #DE9CFF 0%, #AF52DE 100%)",
"gray-gradient": "linear-gradient(180deg, #FFFFFF 0%, #C8C8C8 100%)",
},
},
},
plugins: [
function ({ addUtilities }) {
addUtilities({
".text-blue-gradient": {
"background-image":
"linear-gradient(180deg, #A8D7FF 0%, #6171FF 100%)",
"-webkit-background-clip": "text",
"background-clip": "text",
color: "transparent",
},
".text-orange-gradient": {
"background-image":
"linear-gradient(180deg, #FFC677 0%, #FF9500 100%)",
"-webkit-background-clip": "text",
"background-clip": "text",
color: "transparent",
},
".text-pink-gradient": {
"background-image":
"linear-gradient(180deg, #DE9CFF 0%, #AF52DE 100%)",
"-webkit-background-clip": "text",
"background-clip": "text",
color: "transparent",
},
".text-gray-gradient": {
"background-image":
"linear-gradient(180deg, #FFFFFF 0%, #C8C8C8 100%)",
"-webkit-background-clip": "text",
"background-clip": "text",
color: "transparent",
},
});
},
],
};