Skip to content

Commit

Permalink
[material-ui][LinearProgress] Fix background color (mui#43949)
Browse files Browse the repository at this point in the history
  • Loading branch information
sai6855 authored Oct 1, 2024
1 parent 90f0ce2 commit bef8afa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/mui-material/src/LinearProgress/LinearProgress.js
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,13 @@ const LinearProgressBar2 = styled('span', {
backgroundColor: 'var(--LinearProgressBar2-barColor, currentColor)',
},
},
{
props: ({ ownerState }) =>
ownerState.variant !== 'buffer' && ownerState.color === 'inherit',
style: {
backgroundColor: 'currentColor',
},
},
{
props: {
color: 'inherit',
Expand Down

0 comments on commit bef8afa

Please sign in to comment.