-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.ts
42 lines (37 loc) · 1.03 KB
/
tailwind.config.ts
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
import type { Config } from "tailwindcss";
const plugin = require("tailwindcss/plugin");
const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
"bubble-gum": "#e03dc1",
purple: "#8247E5",
"coral-pink": "#FF94a6",
},
backgroundImage: {
"gradient-push": "linear-gradient(225deg, #e03dc1, #8247E5)",
"gradient-push-light":
"linear-gradient(to right, #e03dc11a, #8147e51a)",
"gradient-linear": "linear-gradient(to right, #ffcfd7, #bfa8e8)",
},
},
},
plugins: [
plugin(function ({ addUtilities }: { addUtilities: any }) {
const newUtilities = {
".gradient-text": {
"background-clip": "text",
"-webkit-background-clip": "text",
"-webkit-text-fill-color": "transparent",
},
};
addUtilities(newUtilities);
}),
],
};
export default config;