Skip to content

Commit

Permalink
fix(accordion): correct header text font weight
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroedin committed Dec 10, 2024
1 parent bf76c04 commit 63d71af
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/ten-ants-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rhds/elements": patch
---

`<rh-accordion>`: corrected accordion header text font weight
4 changes: 2 additions & 2 deletions elements/rh-accordion/rh-accordion-header.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
margin: 0;
color: var(--rh-color-text-primary);
background-color: var(--rh-color-surface);
font-weight: var(--rh-font-weight-heading-medium, 500);
font-weight: var(--rh-font-weight-body-text-medium, 500);
}

button,
Expand Down Expand Up @@ -126,7 +126,7 @@ span {
}

#header-text {
font-weight: var(--rh-font-weight-heading-bold, 700);
font-weight: var(--rh-font-weight-body-text-medium, 500);
}

[part='accents'] {
Expand Down

0 comments on commit 63d71af

Please sign in to comment.