Skip to content

Commit

Permalink
Autosuggest: Update suggestion group heading design (#1581)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeltaranto authored Sep 20, 2024
1 parent dbc6339 commit beadbfe
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
12 changes: 12 additions & 0 deletions .changeset/good-hats-remember.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
'braid-design-system': patch
---

---
updated:
- Autosuggest
---

**Autosuggest:** Update suggestion group heading design

Updating the design of the suggestion group headings, moving from `formAccent` to `secondary` tone, from all caps to provided casing, and from `xsmall` to `small` size.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,3 @@ export const menu = style(
},
}),
);

export const groupHeading = style({
textTransform: 'uppercase',
});
Original file line number Diff line number Diff line change
Expand Up @@ -207,13 +207,12 @@ function GroupHeading({ children }: GroupHeadingProps) {
<Box
paddingX="small"
className={[
styles.groupHeading,
touchableText.xsmall,
textStyles({
size: 'xsmall',
baseline: false,
size: 'small',
baseline: true,
weight: 'strong',
tone: 'formAccent',
tone: 'secondary',
}),
]}
data-testid={
Expand Down

0 comments on commit beadbfe

Please sign in to comment.