Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tag): font inheritance #1574

Merged
merged 3 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading