-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
51 lines (49 loc) · 1.34 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
const plugin = require("tailwindcss");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
// Or if using `src` directory:
"./src/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
"custom-link": "#ddd6cb",
"gradient-start": "#ff8a05",
"gradient-end": "#f9b331",
},
backgroundImage: {
"gradient-to-r-custom": "linear-gradient(90deg, #ff8a05, #f9b331)",
},
textColor: {
transparent: "transparent",
},
boxShadow: {
"custom-glow": "0 0 18px rgba(248, 190, 42, 0.8)",
},
},
},
plugins: [
plugin(function ({ addUtilities }) {
addUtilities({
".bg-clip-text": {
"background-clip": "text",
"-webkit-background-clip": "text",
},
".text-fill-transparent": {
"-webkit-text-fill-color": "transparent",
},
".gradient-hover": {
background: "linear-gradient(90deg, #ff8a05, #f9b331)",
"background-clip": "text",
"-webkit-background-clip": "text",
"-webkit-text-fill-color": "transparent",
"text-shadow": "0 0 18px rgba(248, 190, 42, 0.8)",
},
});
}),
],
};