Skip to content

Commit a5426e6

Browse files
authored
[material-ui][Fab] Fix default variant text color when using CSS vars (#45714)
1 parent 764c1a6 commit a5426e6

File tree

1 file changed

+1
-1
lines changed
  • packages/mui-material/src/Fab

1 file changed

+1
-1
lines changed

packages/mui-material/src/Fab/Fab.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const FabRoot = styled(ButtonBase, {
6666
boxShadow: (theme.vars || theme).shadows[12],
6767
},
6868
color: theme.vars
69-
? theme.vars.palette.text.primary
69+
? theme.vars.palette.grey[900]
7070
: theme.palette.getContrastText?.(theme.palette.grey[300]),
7171
backgroundColor: (theme.vars || theme).palette.grey[300],
7272
'&:hover': {

0 commit comments

Comments
 (0)