-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.js
More file actions
44 lines (41 loc) · 1.04 KB
/
tailwind.config.js
File metadata and controls
44 lines (41 loc) · 1.04 KB
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
/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {},
fontFamily: {
mukta: "Mukta",
},
},
plugins: [
function ({ addUtilities }) {
const newUtilities = {
".no-scrollbar::-webkit-scrollbar": {
// display: "none",
width: "20px",
},
".no-scrollbar": {
"-ms-overflow-style": "none",
"scrollbar-width": "none",
},
".scrollbar::-webkit-scrollbar": {
width: "10px",
height: "20px",
},
".scrollbar::-webkit-scrollbar-track": {
"border-radius": "100vh",
background: "#f7f4ed",
},
".scrollbar::-webkit-scrollbar-thumb": {
background: "#e0cbcb",
"border-radius": "100vh",
// border: "3px solid #f6f7ed",
},
".scrollbar::-webkit-scrollbar-thumb:hover": {
background: "#c0a0b9",
},
};
addUtilities(newUtilities);
},
],
};