-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
58 lines (58 loc) · 1.46 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} */
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
colors: {
slate: {
50: "#f8fafc",
100: "#f1f5f9",
200: "#e2e8f0",
300: "#cbd5e1",
400: "#94a3b8",
500: "#64748b",
600: "#475569",
700: "#334155",
800: "#1e293b",
900: "#0f172a",
},
},
fontFamily: {
custom: ["JetBrainsMono", "monospace"],
},
},
},
plugins: [
function ({ addUtilities }) {
const newUtilities = {
".scrollbar-thin": {
scrollbarWidth: "thin",
scrollbarColor: "rgb(71 85 105 / 0.5) transparent",
"&::-webkit-scrollbar": {
width: "6px",
height: "6px",
},
"&::-webkit-scrollbar-track": {
background: "transparent",
},
"&::-webkit-scrollbar-thumb": {
backgroundColor: "rgb(71 85 105 / 0.5)",
borderRadius: "3px",
},
"&::-webkit-scrollbar-thumb:hover": {
backgroundColor: "rgb(71 85 105 / 0.7)",
},
},
".scrollbar-hide": {
"-ms-overflow-style": "none",
"scrollbar-width": "none",
"&::-webkit-scrollbar": {
display: "none",
},
},
};
addUtilities(newUtilities, ["responsive"]);
},
],
important: true,
};