dees-domtools/ts/domtools.css.theme.ts
2020-09-12 13:14:17 +00:00

28 lines
528 B
TypeScript

import { DomTools } from './domtools.classes.domtools';
export const setupGlobalTheme = (domToolsInstance: DomTools) => {
const styles = `
/* width */
::-webkit-scrollbar {
width: 8px;
}
/* Track */
::-webkit-scrollbar-track {
background: #111;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: #666;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #777;
}
`;
domToolsInstance.setGlobalStyles(styles);
};