-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
69 lines (60 loc) · 1.92 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
59
60
61
62
63
64
65
66
67
68
69
/** @type {import('tailwindcss').Config} */
const withMT = require("@material-tailwind/react/utils/withMT");
const plugin = require("tailwindcss/plugin");
module.exports = withMT({
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
backgroundImage: {
"gradient-primary": "linear-gradient(90deg, #D02129 0%, #750069 100%)",
"gradient-primary/20":
"linear-gradient(90deg, #cf202933 0%, #75006abe 100%)",
"tlBank-gradient-primary":
"radial-gradient(50% 180.65% at 50% 50%, #FAFAFA 0%, #929292 100%)",
"wallet-gradient":
"radial-gradient(100% 100% at 0% 50%, #5D9DF6 0%, #006FFF 100%)",
},
fontFamily: {
grotesque: ["var(--font-grotesque)", "sans"],
"clash-display": ["var(--font-clash-display)", "sans"],
conthrax: ["var(--font-conthrax)", "sans"],
neue: ["var(--font-neue)", "sans"],
},
colors: {
"primary-black": "#141414",
"tlbank-black": "#212121",
"tlbank-black-2": "#161616",
primary: "#D02129",
},
},
},
plugins: [
plugin(function ({ addUtilities }) {
const newUtilities = {
".gradient-text": {
background: "linear-gradient(90deg, #E51E2A 0%, #EA13F2 100%)",
"background-clip": "text",
"-webkit-background-clip": "text",
"-webkit-text-fill-color": "transparent",
},
".gradient-text-primary": {
"background-clip": "text",
"-webkit-background-clip": "text",
"-webkit-text-fill-color": "transparent",
},
".hide-scrollbar": {
"scrollbar-width": "none",
"-ms-overflow-style": "none",
"&::-webkit-scrollbar": {
display: "none",
},
},
};
addUtilities(newUtilities);
}),
],
});