From af1379623b71a48526a27446fbb0314f0ca4b88b Mon Sep 17 00:00:00 2001 From: Steven Spriggs Date: Tue, 10 Dec 2024 23:19:51 -0500 Subject: [PATCH] fix(accordion): correct header text font weight (#2084) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(accordion): correct header text font weight * chore(accordion): missing tick in changeset Co-authored-by: Benny Powers - עם ישראל חי! --------- Co-authored-by: Benny Powers - עם ישראל חי! --- .changeset/purple-drinks-double.md | 5 +++++ elements/rh-accordion/rh-accordion-header.css | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/purple-drinks-double.md diff --git a/.changeset/purple-drinks-double.md b/.changeset/purple-drinks-double.md new file mode 100644 index 0000000000..3e13c96955 --- /dev/null +++ b/.changeset/purple-drinks-double.md @@ -0,0 +1,5 @@ +--- +"@rhds/elements": patch +--- + +``: corrected accordion header text font weight diff --git a/elements/rh-accordion/rh-accordion-header.css b/elements/rh-accordion/rh-accordion-header.css index 05da92a7e1..e43992dca9 100644 --- a/elements/rh-accordion/rh-accordion-header.css +++ b/elements/rh-accordion/rh-accordion-header.css @@ -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, @@ -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'] {