From d9d7f3e1ebaafbe9461a61be38a2c4a12469d790 Mon Sep 17 00:00:00 2001 From: Steven Spriggs Date: Tue, 21 May 2024 10:24:26 -0400 Subject: [PATCH 1/2] fix(tag): set font-family css rulel --- elements/rh-tag/rh-tag.css | 1 + 1 file changed, 1 insertion(+) diff --git a/elements/rh-tag/rh-tag.css b/elements/rh-tag/rh-tag.css index aca61f0156..48672e9076 100644 --- a/elements/rh-tag/rh-tag.css +++ b/elements/rh-tag/rh-tag.css @@ -11,6 +11,7 @@ var(--rh-tag-padding-inline-end, var(--rh-space-md, 8px)) var(--rh-tag-padding-block-end, var(--rh-space-xs, 4px)) var(--rh-tag-padding-inline-start, var(--rh-space-md, 8px)); + font-family: var(--rh-font-family-body-text, RedHatText, "Red Hat Text", "Noto Sans Arabic", "Noto Sans Hebrew", "Noto Sans JP", "Noto Sans KR", "Noto Sans Malayalam", "Noto Sans SC", "Noto Sans TC", "Noto Sans Thai", Helvetica, Arial, sans-serif); font-size: var(--rh-font-size-body-text-sm, 0.875rem); background-color: var(--_background-color, var(--rh-color-surface-lighter, #f2f2f2)); border: 0; From 2e10c754d67f24b1c541ba1a895622e56e16549a Mon Sep 17 00:00:00 2001 From: Steven Spriggs Date: Tue, 21 May 2024 10:24:38 -0400 Subject: [PATCH 2/2] chore(tag): add changeset --- .changeset/tough-pens-brake.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/tough-pens-brake.md diff --git a/.changeset/tough-pens-brake.md b/.changeset/tough-pens-brake.md new file mode 100644 index 0000000000..5838b51fd5 --- /dev/null +++ b/.changeset/tough-pens-brake.md @@ -0,0 +1,5 @@ +--- +"@rhds/elements": patch +--- + +``: ensure correct font-family is used