Skip to content

Commit

Permalink
fix(MultiButton): correct ds5 selected multibutton specs
Browse files Browse the repository at this point in the history
  • Loading branch information
HQFOX authored and francisco-guilherme committed Mar 6, 2024
1 parent c090958 commit afe3ab0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/MultiButton/MultiButton.styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ export const { staticClasses, useClasses } = createClasses("HvMultiButton", {
borderLeft: "solid 1px transparent",
borderRight: "solid 1px transparent",
borderRadius: 0,
...theme.typography.body,
fontWeight: theme.typography.body.fontWeight,
fontSize: theme.typography.body.fontSize,
"&:active": {
backgroundColor: `${theme.colors.atmo3}`,
},
Expand Down Expand Up @@ -80,7 +81,6 @@ export const { staticClasses, useClasses } = createClasses("HvMultiButton", {
},
"& button$button$selected": {
background: theme.colors.atmo1,
height: 34,
...theme.typography.label,
borderRadius: theme.radii.base,
border: `solid 1px ${theme.colors.secondary}`,
Expand Down
9 changes: 9 additions & 0 deletions packages/styles/src/themes/ds3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1378,6 +1378,15 @@ const ds3 = makeTheme((theme) => ({
},
},
},
HvMultiButton: {
classes: {
root: {
"& button&.HvMultiButton-button&.HvMultiButton-selected": {
height: 32,
},
},
},
},
HvTooltip: {
classes: {
popper: {
Expand Down

0 comments on commit afe3ab0

Please sign in to comment.