Skip to content

Commit 05dcd88

Browse files
PR fix
1 parent e4b598c commit 05dcd88

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

packages/react-components/react-button/src/components/Button/useButtonStyles.styles.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,9 @@ const useRootDisabledStyles = makeStyles({
318318
color: tokens.colorNeutralForegroundDisabled,
319319

320320
cursor: 'not-allowed',
321+
[`& .${buttonClassNames.icon}`]: {
322+
color: tokens.colorNeutralForegroundDisabled,
323+
},
321324

322325
':hover': {
323326
backgroundColor: tokens.colorNeutralBackgroundDisabled,
@@ -350,6 +353,9 @@ const useRootDisabledStyles = makeStyles({
350353
[`& .${iconRegularClassName}`]: {
351354
display: 'inline',
352355
},
356+
[`& .${buttonClassNames.icon}`]: {
357+
color: tokens.colorNeutralForegroundDisabled,
358+
},
353359
},
354360
},
355361

0 commit comments

Comments
 (0)