From bd2a6f87e6afe1614d507dd78028d0e38769422c Mon Sep 17 00:00:00 2001 From: domyen Date: Thu, 16 May 2019 09:15:40 +0800 Subject: [PATCH] Scrollbar supports theming again --- lib/components/src/ScrollArea/ScrollAreaStyles.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/src/ScrollArea/ScrollAreaStyles.tsx b/lib/components/src/ScrollArea/ScrollAreaStyles.tsx index fb8165f019dc..370d2b053231 100644 --- a/lib/components/src/ScrollArea/ScrollAreaStyles.tsx +++ b/lib/components/src/ScrollArea/ScrollAreaStyles.tsx @@ -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': {