Skip to content

Commit 5798188

Browse files
authored
Merge pull request #7303 from marmelab/fix-bulkupdatebutton
Fix BulkUpdateButton color
2 parents c7da672 + 287d5b6 commit 5798188

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/ra-ui-materialui/src/button/BulkUpdateWithConfirmButton.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ import { BulkActionProps } from '../types';
2323
const useStyles = makeStyles(
2424
theme => ({
2525
updateButton: {
26-
color: theme.palette.error.main,
26+
color: theme.palette.primary.main,
2727
'&:hover': {
28-
backgroundColor: alpha(theme.palette.error.main, 0.12),
28+
backgroundColor: alpha(theme.palette.primary.main, 0.12),
2929
// Reset on mouse devices
3030
'@media (hover: none)': {
3131
backgroundColor: 'transparent',

packages/ra-ui-materialui/src/button/BulkUpdateWithUndoButton.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ import { BulkActionProps } from '../types';
2020
const useStyles = makeStyles(
2121
theme => ({
2222
updateButton: {
23-
color: theme.palette.error.main,
23+
color: theme.palette.primary.main,
2424
'&:hover': {
25-
backgroundColor: alpha(theme.palette.error.main, 0.12),
25+
backgroundColor: alpha(theme.palette.primary.main, 0.12),
2626
// Reset on mouse devices
2727
'@media (hover: none)': {
2828
backgroundColor: 'transparent',

0 commit comments

Comments
 (0)