Skip to content

Commit

Permalink
fix(tag): font inheritance (#1574)
Browse files Browse the repository at this point in the history
* fix(tag): set font-family css rulel

* chore(tag): add changeset

---------

Co-authored-by: Benny Powers - עם ישראל חי! <bennypowers@users.noreply.github.com>
  • Loading branch information
zeroedin and bennypowers committed May 21, 2024
1 parent 7a76544 commit 8365fac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tough-pens-brake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rhds/elements": patch
---

`<rh-tag>`: ensure correct font-family is used
1 change: 1 addition & 0 deletions elements/rh-tag/rh-tag.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8365fac

Please sign in to comment.