We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af8385e commit 6338e1cCopy full SHA for 6338e1c
src/tailwind.config.js
@@ -15,7 +15,27 @@ module.exports = {
15
],
16
theme: {
17
extend: {},
18
+ scrollbar: theme => ({
19
+ DEFAULT: {
20
+ size: theme('spacing.3'),
21
+ track: {
22
+ background: theme('colors.gray.100'),
23
+ darkBackground: theme('colors.neutral.700'),
24
+ },
25
+ thumb: {
26
+ background: theme('colors.gray.400'),
27
+ darkBackground: theme('colors.neutral.500'),
28
+ borderRadius: theme('borderRadius.full'),
29
30
+ hover: {
31
+ background: theme('colors.gray.500'),
32
+ darkBackground: theme('colors.neutral.400'),
33
34
35
+ }),
36
},
- plugins: [],
37
+ plugins: [
38
+ require('@gradin/tailwindcss-scrollbar'),
39
+ ],
40
}
41
0 commit comments