Skip to content

Commit

Permalink
chore: update scrollbar color
Browse files Browse the repository at this point in the history
  • Loading branch information
dougfabris committed Apr 29, 2024
1 parent 105a1eb commit 2057f3b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Palette } from '@rocket.chat/fuselage';
import type { ScrollValues } from 'rc-scrollbars';
import { Scrollbars } from 'rc-scrollbars';
import type { MutableRefObject, CSSProperties, ReactNode, ReactElement } from 'react';
Expand Down Expand Up @@ -43,7 +44,7 @@ const CustomScrollbars = forwardRef<HTMLElement, CustomScrollbarsProps>(function
overflowX ? undefined : (props): ReactElement => <div {...props} className='track-horizontal' style={{ display: 'none' }} />
}
renderThumbVertical={({ style, ...props }): JSX.Element => (
<div {...props} style={{ ...style, backgroundColor: 'rgba(0, 0, 0, 0.5)', borderRadius: '7px' }} />
<div {...props} style={{ ...style, backgroundColor: Palette.stroke['stroke-medium'].toString(), borderRadius: '4px' }} />
)}
children={children}
ref={refSetter}
Expand Down

0 comments on commit 2057f3b

Please sign in to comment.