-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
49 lines (48 loc) · 1.56 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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {},
},
plugins: [
function ({addUtilities}) {
const newUtilities = {
".scrollbar-thin": {
scrollbarWidth: "thin",
scrollbarColor: "rgb(31 29 29) white",
borderRadius: "50px",
},
".scrollbar-thin-report": {
scrollbarWidth: "thin",
scrollbarColor: "rgb(31 29 29) white",
borderRadius: "25px",
},
".scrollbar-html-thin": {
scrollbarWidth: "thin",
scrollbarColor: "rgb(192 192 192) white",
borderRadius: "50px",
},
".scrollbar-webkit": {
"&::-webkit-scrollbar": {
width: "4px"
},
"&::-webkit-scrollbar-track": {
background: "white"
},
"&::-webkit-scrollbar-thumb": {
background: "rgba(31 41 55)",
borderRadius: "50px",
border: "0.5px solid white"
}
},
".custom-height": {
height: "calc(90vh - 5rem)"
}
}
addUtilities(newUtilities, ["responsive", "hover"])
}
],
}