Skip to content

Commit f1bc738

Browse files
[appbar] Fix inherit color CSS variable not getting applied (#47518)
1 parent e7c83ed commit f1bc738

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ const AppBarRoot = styled(Paper, {
9595
props: { color: 'inherit' },
9696
style: {
9797
'--AppBar-color': 'inherit',
98+
color: 'var(--AppBar-color)',
9899
},
99100
},
100101
{

0 commit comments

Comments
 (0)