@mui/material
Version:
React components that implement Google's Material Design.
29 lines (28 loc) • 890 B
TypeScript
export default function darkScrollbar(options?: {
track: string;
thumb: string;
active: string;
}): {
scrollbarColor: string;
'&::-webkit-scrollbar, & *::-webkit-scrollbar': {
backgroundColor: string;
};
'&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb': {
borderRadius: number;
backgroundColor: string;
minHeight: number;
border: string;
};
'&::-webkit-scrollbar-thumb:focus, & *::-webkit-scrollbar-thumb:focus': {
backgroundColor: string;
};
'&::-webkit-scrollbar-thumb:active, & *::-webkit-scrollbar-thumb:active': {
backgroundColor: string;
};
'&::-webkit-scrollbar-thumb:hover, & *::-webkit-scrollbar-thumb:hover': {
backgroundColor: string;
};
'&::-webkit-scrollbar-corner, & *::-webkit-scrollbar-corner': {
backgroundColor: string;
};
};