Skip to content

Commit 3e6e6d7

Browse files
mohas22mohas22
authored andcommitted
Overridden style for scroll bar in dark theme
1 parent ee8f143 commit 3e6e6d7

File tree

1 file changed

+7
-1
lines changed
  • packages/react-sdk-components/src

1 file changed

+7
-1
lines changed

packages/react-sdk-components/src/theme.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,13 @@ const darkTheme = createTheme({
205205
background: 'radial-gradient(178.62% 112% at 50% -12%, #0B0F2A 69.96%, #111951 89.19%)',
206206
backgroundAttachment: 'fixed'
207207
},
208-
...darkThemeColours
208+
...darkThemeColours,
209+
210+
// scrollbar styling
211+
'*': {
212+
scrollbarWidth: 'thin', // Options: auto | thin | none
213+
scrollbarColor: '#555 #2c2c2c' // thumb color, track color
214+
}
209215
}
210216
},
211217
MuiPaper: {

0 commit comments

Comments
 (0)