Foundations
Scrollbars
Global scrollbars use the active brand --primary token mixed with transparency. Tracks stay transparent so content and backgrounds show through. Change the accent in the theme customizer to preview live.
Tokens
Thumb
--scrollbar-thumb
Thumb hover
--scrollbar-thumb-hover
Track
--scrollbar-track
Size
--scrollbar-size
Usage
Native scrollbars are styled globally via src/styles/scrollbars.css. Wrap overflow regions with CustomScrollbar when you want an explicit scroll container.
import { CustomScrollbar } from "@/components/ui/custom-scrollbar"
<CustomScrollbar className="max-h-72">
{/* long content */}
</CustomScrollbar>Preview
CustomScrollbar
Native overflow