@mui/material
Version:
Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.
28 lines • 821 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;
};
};