mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-04 05:07:30 +00:00
feat: Configure tailwind-scrollbar plugin and theme
This commit is contained in:
+21
-1
@@ -15,7 +15,27 @@ module.exports = {
|
|||||||
],
|
],
|
||||||
theme: {
|
theme: {
|
||||||
extend: {},
|
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'),
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user