Custom scrollbar utility with CSS variables for width, track, thumb, and hover state.
pnpm dlx shadcn@latest add "https://ui.akssora.com/r/custom-scroll.json"
Light Mode
--scrollbar-thumb:
rgba(15, 23, 42, 0.25)
--scrollbar-thumb-hover:
rgba(15, 23, 42, 0.45)
--scrollbar-track:
Dark Mode
rgba(242, 242, 242, 0.35)
rgba(242, 242, 242, 0.6)
CSS