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

chore: tokens 2.1.1 #2106

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 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/rotten-peas-burn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rhds/elements": patch
---

Use non-localized font stacks (see [`@rhds/tokens` v2.1.1 release notes](https://github.com/RedHat-UX/red-hat-design-tokens/releases/tag/v2.1.1))
5 changes: 5 additions & 0 deletions .changeset/spicy-balloons-attack.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rhds/elements": patch
---

Bump version of `@rhds/tokens`
2 changes: 1 addition & 1 deletion elements/rh-accordion/rh-accordion-header.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ span {
var(--_padding-inline-end)
var(--_padding-block-end)
var(--_padding-inline-start);
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-family: var(--rh-font-family-body-text, RedHatText, 'Red Hat Text', Helvetica, Arial, sans-serif);
font-size: var(--_font-size);
color: var(--rh-color-text-primary);

Expand Down
4 changes: 2 additions & 2 deletions elements/rh-alert/rh-alert.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ footer ::slotted(rh-button[variant='link' i]) {
display: grid;
grid-template-columns: min-content 1fr;
gap: var(--rh-space-xs, 4px);
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-family: var(--rh-font-family-body-text, RedHatText, 'Red Hat Text', Helvetica, Arial, sans-serif);
font-weight: var(--rh-font-weight-body-text-regular, 400);
font-size: var(--rh-font-size-body-text-sm, 0.875rem);
line-height: var(--rh-line-height-body-text, 1.5);

& header ::slotted(*) {
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) !important;
font-family: var(--rh-font-family-body-text, RedHatText, 'Red Hat Text', Helvetica, Arial, sans-serif) !important;
font-weight: var(--rh-font-weight-body-text-medium, 500) !important;
font-size: var(--rh-font-size-body-text-sm, 0.875rem) !important;
line-height: var(--rh-line-height-body-text, 1.5) !important;
Expand Down
4 changes: 2 additions & 2 deletions elements/rh-audio-player/rh-audio-player-about.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
font-size: var(--rh-font-size-body-text-xs, 0.75rem);
line-height: var(--rh-line-height-body-text, 1.5);
height: 18px;
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-family: var(--rh-font-family-body-text, RedHatText, 'Red Hat Text', Helvetica, Arial, sans-serif);
font-weight: var(--rh-font-weight-body-text-medium, 500);
margin: 0 0 var(--rh-space-md, 8px);
}
Expand All @@ -26,7 +26,7 @@

#mediatitle > * {
font-size: var(--rh-font-size-heading-xs, 1.25rem);
font-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', '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-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', Helvetica, Arial, sans-serif);
font-weight: var(--rh-font-weight-heading-medium, 500);
line-height: var(--rh-line-height-heading, 1.3);
margin: 0 0 var(--rh-space-lg, 16px);
Expand Down
6 changes: 3 additions & 3 deletions elements/rh-audio-player/rh-audio-player-lightdom.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ rh-audio-player {
line-height: var(--rh-line-height-body-text, 1.5);
font-weight: var(--rh-font-weight-body-text-regular, 400);
font-size: var(--rh-font-size-code-md, 1rem);
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-family: var(--rh-font-family-body-text, RedHatText, 'Red Hat Text', Helvetica, Arial, sans-serif);
color: var(--rh-audio-player-text-color, var(--rh-color-text-primary));
}

Expand All @@ -16,7 +16,7 @@ rh-audio-player:not([expanded]) rh-transcript:not(:defined) {

rh-cue[start]:not(:defined):before,
rh-cue[voice]:not(:defined):before {
font-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', '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-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', Helvetica, Arial, sans-serif);
font-size: var(--rh-font-size-body-text-md, 1rem);
font-weight: var(--rh-font-weight-heading-bold, 700);
}
Expand Down Expand Up @@ -68,7 +68,7 @@ rh-audio-player > [slot='series'] {
rh-audio-player > [slot='title'],
rh-audio-player [slot='heading'] {
font-size: var(--rh-font-size-heading-xs, 1.25rem);
font-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', '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-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', Helvetica, Arial, sans-serif);
font-weight: var(--rh-font-weight-heading-medium, 500);
line-height: var(--rh-line-height-heading, 1.3);
margin: 0 0 var(--rh-space-lg, 16px);
Expand Down
2 changes: 1 addition & 1 deletion elements/rh-audio-player/rh-audio-player-panel.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ slot[name='heading'] *,
slot[name='heading'] *,
::slotted([slot='heading']),
::slotted([slot='title']) {
font-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', '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-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', Helvetica, Arial, sans-serif);
font-size: var(--rh-font-size-heading-xs, 1.25rem);
font-weight: var(--rh-font-weight-heading-medium, 500);
line-height: var(--rh-line-height-heading, 1.3);
Expand Down
10 changes: 5 additions & 5 deletions elements/rh-audio-player/rh-audio-player.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
line-height: var(--rh-line-height-body-text, 1.5);
font-weight: var(--rh-font-weight-body-text-regular, 400);
font-size: var(--rh-font-size-code-md, 1rem);
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-family: var(--rh-font-family-body-text, RedHatText, 'Red Hat Text', Helvetica, Arial, sans-serif);
}

[hidden] {
Expand Down Expand Up @@ -141,15 +141,15 @@ svg.scrubber {

::slotted([slot='title']) {
font-size: var(--rh-font-size-body-text-xl, 1.25rem) !important;
font-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', '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) !important;
font-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', Helvetica, Arial, sans-serif) !important;
font-weight: var(--rh-font-weight-heading-medium, 500) !important;
line-height: var(--rh-line-height-heading, 1.3) !important;
margin: 0 0 var(--rh-space-lg, 16px) !important;
padding: 0 !important;
}

#mediatitle {
font-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', '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-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', Helvetica, Arial, sans-serif);
font-size: var(--rh-font-size-heading-xs, 1.25rem);
font-weight: var(--rh-font-weight-heading-medium, 500);
height: 26px;
Expand All @@ -161,7 +161,7 @@ svg.scrubber {
height: 18px;
line-height: 1;
font-weight: var(--rh-font-weight-body-text-regular, 400);
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-family: var(--rh-font-family-body-text, RedHatText, 'Red Hat Text', Helvetica, Arial, sans-serif);
letter-spacing: var(--rh-letter-spacing-body-text, 0.0125rem);
margin: 0 0 var(--rh-space-md, 8px);
color: var(--_secondary-text-color);
Expand Down Expand Up @@ -425,7 +425,7 @@ rh-menu > button {
background-color: var(--_static-overlay-color);
font-size: var(--rh-font-size-body-text-md, 1rem);
line-height: var(--rh-line-height-body-text, 1.5);
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-family: var(--rh-font-family-body-text, RedHatText, 'Red Hat Text', Helvetica, Arial, sans-serif);
}

rh-menu > button:hover {
Expand Down
2 changes: 1 addition & 1 deletion elements/rh-audio-player/rh-cue.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ h6 {
}

#voice {
font-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', '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-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', Helvetica, Arial, sans-serif);
}

#start {
Expand Down
4 changes: 2 additions & 2 deletions elements/rh-avatar/rh-avatar.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@
#title {
grid-area: t;
align-self: end;
font-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', '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-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', Helvetica, Arial, sans-serif);
font-weight: var(--rh-font-weight-heading-medium, 500);
font-size: var(--rh-font-size-body-text-sm, 0.875rem);
}

#subtitle {
grid-area: s;
align-self: start;
font-weight: var(--rh-font-weight-heading-regular, 300);
font-weight: var(--rh-font-weight-heading-regular, 400);
font-size: var(--rh-font-size-body-text-sm, 0.875rem);
}

Expand Down
6 changes: 3 additions & 3 deletions elements/rh-blockquote/rh-blockquote.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
margin: 0 auto;
text-align: left;
font-size: var(--rh-font-size-body-text-lg, 1.125rem);
font-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', '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-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', Helvetica, Arial, sans-serif);
line-height: var(--rh-line-height-body-text, 1.5);
font-weight: var(--rh-font-weight-heading-regular, 300);
font-weight: var(--rh-font-weight-heading-regular, 400);
}

@media (min-width: 700px) {
Expand All @@ -25,7 +25,7 @@ blockquote ::slotted(p) {

figcaption {
color: var(--rh-color-text-secondary);
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-family: var(--rh-font-family-body-text, RedHatText, 'Red Hat Text', Helvetica, Arial, sans-serif);
font-size: var(--rh-font-size-body-text-sm, 0.875rem);
}

Expand Down
10 changes: 5 additions & 5 deletions elements/rh-card/rh-card.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
justify-items: flex-start;
overflow: hidden;
border-radius: var(--_border-radius, var(--rh-border-width-lg, 3px));
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) !important;
font-family: var(--rh-font-family-body-text, RedHatText, 'Red Hat Text', Helvetica, Arial, sans-serif) !important;
line-height: var(--rh-line-height-body-text, 1.5);
border-style: solid;
border-width: var(--rh-border-width-sm, 1px);
Expand Down Expand Up @@ -83,7 +83,7 @@

#header ::slotted(:is(h1, h2, h3, h4, h5, h6)),
#body ::slotted(:is(h1, h2, h3, h4, h5, h6)) {
font-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', '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-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', Helvetica, Arial, sans-serif);
}

#image ::slotted(*) {
Expand All @@ -96,7 +96,7 @@
flex-direction: column;
gap: var(--rh-space-lg, 16px);
box-sizing: border-box;
font-family: var(--rh-card-heading-font-family, var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', '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)) !important;
font-family: var(--rh-card-heading-font-family, var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', Helvetica, Arial, sans-serif)) !important;
font-size: var(--rh-card-heading-font-size, var(--rh-font-size-heading-sm, 1.5rem));
font-weight:
var(--rh-card-heading-font-weight,
Expand Down Expand Up @@ -209,7 +209,7 @@
}

.promo #header ::slotted(*) {
font-family: var(--rh-card-heading-font-family, var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', '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)) !important;
font-family: var(--rh-card-heading-font-family, var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', Helvetica, Arial, sans-serif)) !important;
font-size: var(--_promo-heading-size) !important;
font-weight: var(--_promo-heading-font-weight) !important;
margin-block: 0 var(--_promo-heading-margin-block-end) !important;
Expand All @@ -235,7 +235,7 @@
}

.promo.standard #body ::slotted(:not([slot])) {
font-family: var(--rh-card-heading-font-family, var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', '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)) !important;
font-family: var(--rh-card-heading-font-family, var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', Helvetica, Arial, sans-serif)) !important;
font-size: var(--rh-font-size-body-text-xl, 1.25rem) !important;
font-weight: var(--rh-font-weight-body-text-medium, 500);
line-height: var(--rh-line-height-heading, 1.3) !important;
Expand Down
2 changes: 1 addition & 1 deletion elements/rh-code-block/rh-code-block.css
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
inset-block-end: var(--_code-secondary-spacer);
margin-block: var(--_code-secondary-spacer);
color: var(--rh-color-text-primary);
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-family: var(--rh-font-family-body-text, RedHatText, 'Red Hat Text', Helvetica, Arial, sans-serif);
font-size: var(--rh-font-size-body-text-sm, 0.875rem);
font-weight: var(--rh-font-weight-body-text-regular, 400);
line-height: var(--rh-line-height-body-text, 1.5);
Expand Down
4 changes: 2 additions & 2 deletions elements/rh-cta/rh-cta-lightdom-shim.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ rh-cta:not(:defined) {
width: fit-content !important;
display: inline-flex !important;
color: var(--rh-cta-color);
font-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', '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-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', Helvetica, Arial, sans-serif);
font-size: var(--rh-font-size-body-text-lg, 1.125rem);
font-weight: 600; /* WARNING: not a token value */
line-height: var(--rh-line-height-body-text, 1.5);
Expand Down Expand Up @@ -133,7 +133,7 @@ rh-cta[variant='secondary'][color-palette^='dark']:not(:defined) {

rh-cta[variant='brick']:not(:defined) {
border-style: solid;
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-family: var(--rh-font-family-body-text, RedHatText, 'Red Hat Text', Helvetica, Arial, sans-serif);
font-weight: var(--rh-font-weight-body-text-regular, 400);

--rh-cta-background-color: transparent;
Expand Down
4 changes: 2 additions & 2 deletions elements/rh-cta/rh-cta.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ a:after,
position: relative;
white-space: nowrap;
color: var(--_color);
font-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', '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-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', Helvetica, Arial, sans-serif);
font-size: var(--rh-font-size-body-text-lg, 1.125rem);
font-weight: 600; /* WARNING: not a token value */
line-height: var(--rh-line-height-body-text, 1.5);
Expand Down Expand Up @@ -368,7 +368,7 @@ a:focus-within,

& #container {
border-style: solid;
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-family: var(--rh-font-family-body-text, RedHatText, 'Red Hat Text', Helvetica, Arial, sans-serif);
font-weight: var(--rh-font-weight-body-text-regular, 400);
display: flex;
flex-flow: row wrap;
Expand Down
2 changes: 1 addition & 1 deletion elements/rh-footer/rh-footer-block.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@

.content ::slotted(*) {
color: var(--rh-color-text-secondary-on-dark, #c7c7c7);
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-family: var(--rh-font-family-body-text, RedHatText, 'Red Hat Text', Helvetica, Arial, sans-serif);
font-weight: var(--rh-font-weight-body-text-regular, 400);
}
2 changes: 1 addition & 1 deletion elements/rh-footer/rh-footer-lightdom.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
}

:is(rh-footer, rh-footer-universal) :is(h1, h2, h3, h4, h5, h6) {
font-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', '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-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', Helvetica, Arial, sans-serif);
line-height: var(--rh-line-height-heading, 1.3);
}

Expand Down
4 changes: 2 additions & 2 deletions elements/rh-footer/rh-footer.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
:host {
/* apply sensible defaults based on redhat standards. */
color: var(--rh-color-white, #ffffff);
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-family: var(--rh-font-family-body-text, RedHatText, 'Red Hat Text', Helvetica, Arial, sans-serif);
line-height: var(--rh-line-height-body-text, 1.5);
font-weight: var(--_font-weight);
font-size: initial;
Expand All @@ -26,7 +26,7 @@ footer,
}

::slotted(:is(h1,h2,h3,h4,h5,h6)) {
font-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', '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) !important;
font-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', Helvetica, Arial, sans-serif) !important;
line-height: var(--rh-line-height-heading, 1.3) !important;
}

Expand Down
Loading
Loading