feat: Configure tailwind-scrollbar plugin and theme

This commit is contained in:
courtmanr@gmail.com
2025-05-09 17:10:01 +01:00
parent af8385eebb
commit 6338e1c892
+21 -1
View File
@@ -15,7 +15,27 @@ module.exports = {
],
theme: {
extend: {},
scrollbar: theme => ({
DEFAULT: {
size: theme('spacing.3'),
track: {
background: theme('colors.gray.100'),
darkBackground: theme('colors.neutral.700'),
},
thumb: {
background: theme('colors.gray.400'),
darkBackground: theme('colors.neutral.500'),
borderRadius: theme('borderRadius.full'),
},
hover: {
background: theme('colors.gray.500'),
darkBackground: theme('colors.neutral.400'),
},
},
}),
},
plugins: [],
plugins: [
require('@gradin/tailwindcss-scrollbar'),
],
}