Skip to content

Commit

Permalink
Fix button classnames
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonmade committed Sep 23, 2024
1 parent 0406260 commit a764f6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/zest/source/components/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export function Button({
id={menu || overlay ? idOrAutogeneratedId : explicitId}
overlay={overlay}
className={classes(
styles.Action,
styles.Button,
(finalEmphasis === true || finalEmphasis === 'emphasized') &&
styles.emphasized,
finalEmphasis === 'subdued' && styles.subdued,
Expand Down Expand Up @@ -208,7 +208,7 @@ export function Button({
);

return accessory ? (
<span className={styles.ActionContainer}>
<span className={styles.ButtonContainer}>
<ConnectedAccessoryReset>{pressable}</ConnectedAccessoryReset>
<ConnectedAccessoryContext
role={finalRole}
Expand Down

0 comments on commit a764f6d

Please sign in to comment.