Scrollbar supports theming again

This commit is contained in:
domyen 2019-05-16 09:15:40 +08:00
parent 1891e9fde6
commit bd2a6f87e6

View File

@ -115,12 +115,12 @@ export const getScrollAreaStyles: (theme: Theme) => Interpolation = (theme: Them
'.simplebar-scrollbar:before': {
position: 'absolute',
content: '""',
background: 'black',
borderRadius: 7,
left: 0,
right: 0,
opacity: 0,
transition: 'opacity 0.2s linear',
background: theme.base === 'light' ? theme.color.darkest : theme.color.lightest,
},
'.simplebar-track .simplebar-scrollbar.simplebar-visible:before': {