@@ -95,6 +95,9 @@ function SidebarToggleButton() {
95
95
< ActionButton
96
96
iconButtonProps = { {
97
97
size : 'small' ,
98
+ sx : theme => ( {
99
+ color : theme . palette . sidebar . color ,
100
+ } ) ,
98
101
} }
99
102
onClick = { ( ) => {
100
103
dispatch ( setWhetherSidebarOpen ( ! isOpen ) ) ;
@@ -319,29 +322,7 @@ export const PureSidebar = memo(
319
322
</ List >
320
323
</ Grid >
321
324
< Grid item >
322
- < Box
323
- textAlign = "center"
324
- p = { 0 }
325
- sx = { theme => ( {
326
- '&, & *, & svg' : {
327
- color : theme . palette . sidebarLink . color ,
328
- } ,
329
- '& .MuiButton-root' : {
330
- color : theme . palette . sidebarButtonInLinkArea . color ,
331
- '&:hover' : {
332
- background : theme . palette . sidebarButtonInLinkArea . hover . background ,
333
- } ,
334
- } ,
335
- '& .MuiButton-containedPrimary' : {
336
- background : theme . palette . sidebarButtonInLinkArea . primary . background ,
337
- '&:hover' : {
338
- background : theme . palette . sidebarButtonInLinkArea . hover . background ,
339
- } ,
340
- } ,
341
- } ) }
342
- >
343
- { linkArea }
344
- </ Box >
325
+ < Box textAlign = "center" > { linkArea } </ Box >
345
326
</ Grid >
346
327
</ Grid >
347
328
</ >
@@ -385,7 +366,8 @@ export const PureSidebar = memo(
385
366
const drawer = {
386
367
width : drawerWidth ,
387
368
flexShrink : 0 ,
388
- background : theme . palette . sidebarBg ,
369
+ background : theme . palette . sidebar . background ,
370
+ color : theme . palette . sidebar . color ,
389
371
} ;
390
372
391
373
const drawerOpen = {
@@ -394,7 +376,7 @@ export const PureSidebar = memo(
394
376
easing : theme . transitions . easing . sharp ,
395
377
duration : theme . transitions . duration . enteringScreen ,
396
378
} ) ,
397
- background : theme . palette . sidebarBg ,
379
+ background : theme . palette . sidebar . background ,
398
380
} ;
399
381
400
382
const drawerClose = {
@@ -404,7 +386,7 @@ export const PureSidebar = memo(
404
386
} ) ,
405
387
overflowX : 'hidden' ,
406
388
width : adjustedDrawerWidth ,
407
- background : theme . palette . sidebarBg ,
389
+ background : theme . palette . sidebar . background ,
408
390
} ;
409
391
410
392
if (
0 commit comments