Skip to content

Commit

Permalink
Addressing PR feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
KHMakoto committed Nov 9, 2022
1 parent 5898a24 commit 06a4b01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -466,8 +466,6 @@ export const useButtonStyles_unstable = (state: ButtonState): ButtonState => {
rootStyles[size],
rootStyles[shape],

// Expanded styles

// Disabled styles
(disabled || disabledFocusable) && rootDisabledStyles.base,
(disabled || disabledFocusable) && rootDisabledStyles.highContrast,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,19 +215,7 @@ const useRootDisabledStyles = makeStyles({

const useIconCheckedStyles = makeStyles({
// Appearance variations
outline: {
/* The outline styles are exactly the same as the base styles. */
},
primary: {
/* The primary styles are exactly the same as the base styles. */
},
secondary: {
/* The secondary styles are exactly the same as the base styles. */
},
subtle: {
color: tokens.colorNeutralForeground2BrandSelected,
},
transparent: {
subtleOrTransparent: {
color: tokens.colorNeutralForeground2BrandSelected,
},
});
Expand Down Expand Up @@ -258,7 +246,7 @@ export const useToggleButtonStyles_unstable = (state: ToggleButtonState): Toggle
if (state.icon) {
state.icon.className = mergeClasses(
toggleButtonClassNames.icon,
appearance && iconCheckedStyles[appearance],
(appearance === 'subtle' || appearance === 'transparent') && iconCheckedStyles.subtleOrTransparent,
state.icon.className,
);
}
Expand Down

0 comments on commit 06a4b01

Please sign in to comment.