Skip to content

Commit 6343272

Browse files
committed
Fix default bulk action buttons background on dark theme
1 parent 3a0a636 commit 6343272

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/ra-ui-materialui/src/list/BulkActionsToolbar.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
styled,
1111
useThemeProps,
1212
lighten,
13+
darken,
1314
} from '@mui/material/styles';
1415
import clsx from 'clsx';
1516
import Toolbar from '@mui/material/Toolbar';
@@ -124,7 +125,7 @@ const Root = styled('div', {
124125
? theme.vars.palette.bulkActionsToolbarBackgroundColor
125126
: theme.palette.mode === 'light'
126127
? lighten(theme.palette.primary.light, 0.8)
127-
: theme.palette.primary.dark,
128+
: darken(theme.palette.primary.dark, 0.5),
128129
minHeight: theme.spacing(6),
129130
height: theme.spacing(6),
130131
paddingRight: theme.spacing(2),

0 commit comments

Comments
 (0)