{{ doc.alias or (slug | deslugify) }}
+ {%- set inProgress = doc.docsPage.manifest -%} + {%- set name = (doc.alias) or (slug | deslugify) %} + {%- set planned = isPlanned(repoStatus, name) %} +{{ name }}{% if planned %} Planned {% endif %}
+
{%- set manifest = doc.docsPage.manifest -%}
{%- set demos = manifest and manifest.getDemos(doc.docsPage.tagName) -%}
{%- set demosUrl -%}/elements/{{ slug }}/demos/{%- endset -%}
diff --git a/docs/_includes/layouts/pages/home.njk b/docs/_includes/layouts/pages/home.njk
index 559759c2f7..a64774ae82 100755
--- a/docs/_includes/layouts/pages/home.njk
+++ b/docs/_includes/layouts/pages/home.njk
@@ -3,6 +3,7 @@ layout: layouts/base.njk
importElements:
- rh-cta
- rh-footer
+ - rh-tag
---
{% include 'partials/component/masthead.njk' %}
diff --git a/docs/_includes/layouts/pages/tokens.njk b/docs/_includes/layouts/pages/tokens.njk
index 306cca7057..5c42328190 100644
--- a/docs/_includes/layouts/pages/tokens.njk
+++ b/docs/_includes/layouts/pages/tokens.njk
@@ -1,5 +1,7 @@
---
layout: layouts/base.njk
+importElements:
+ - rh-tag
---
-
-Red Hat Display
-The Display typeface is low contrast and spaced tightly with a large x-height and open counters.
-Red Hat Text
-The Text typeface has a slightly smaller x-height, a narrower width for better legibility, and thinned joins for a better performance at small sizes.
-Red Hat Mono
-The Mono typeface is our monospaced font that distinguishes code from natural-language text. It should only be used for code snippets or as a stylistic approach for a more technical audience.
-Red Hat Enterprise Linux
-Conquer complexity with Red Hat Enterprise Linux 8
-The moment we have an idea, we can start building the product
- John Smith - Senior Director, Dev Ops, Acme Corporation -Linux platforms
-Red Hat Enterprise Linux
-We support Red Hat Enterprise Linux on multiple architectures—from IBM Power servers and IBM Z mainframes to Arm microchips that power cloud workloads—so you can choose the right hardware for the right workload. All while using a single OS with a standardized experience.
-
-
-for (i = (numElementsReturned - 1); i >= 0; i--) {
- console.log('Hello World');
-}
-
-
- Style | -Font / weight | -Size / Line height | -
---|---|---|
Headline, 2xl | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Headline, xl | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Headline, lg | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Headline, md | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Headline, sm | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Headline, xs | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Blockquote, lg | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Blockquote, sm | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Layout title | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Card title | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Body copy, 2xl | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Body copy, xl | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Body copy, lg | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Body copy, md | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Body copy, sm | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Body copy, xs | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Style | -Font / weight | -Size / Line height | -
---|---|---|
Headline, 2xl | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Headline, xl | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Headline, lg | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Headline, md | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Headline, sm | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Headline, xs | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Blockquote, lg | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Blockquote, sm | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Layout title | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Card title | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Body copy, 2xl | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Body copy, xl | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Body copy, lg | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Body copy, md | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Body copy, sm | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Body copy, xs | ---- {# TODO: get correct value for RHDS #} | ---- {# TODO: get correct value for RHDS #} | -
Headline, 2xl
-The largest headline available. Use in big hero layouts, like Summit or campaign pages. Reserved for marketing use cases only.
-Headline, xl
-The second largest headline available. Use in hero layouts, like the home page or a product page. Reserved for marketing use cases only.
-Headline, lg
-The primary headline for important layouts that aren’t the hero. Try and use only once per page, otherwise use the Headline 2 style.
-Headline, md
-The secondary headline for important layouts that are lower in hierarchy. Use this style multiple times per page.
-Headline, sm
-The tertiary headline for other layouts lower in hierarchy. Use this style in components like a Card or in multiple layouts per page.
-Headline, xs
-The smallest headline available. Use this style under larger headlines or in select components, like an Accordion.
-Blockquote, lg
-The larger style for adding more emphasis to blockquotes. Try not to use this style around other content, otherwise use the Blockquote, sm style.
-Blockquote, sm
-The smaller style for all blockquotes. Use this style around other content or in smaller layouts and components, like a Card.
-Layout title
-The larger style for an important title. Use this style above larger headlines or above important content in any layout.
-Card title
-The smaller style for less important titles. Use this style above headlines in smaller layouts only, like a Card.
-Body copy, 2xl
-The largest body copy style. Use this style for long-form content only, like Topic and Article pages. Text should not exceed 8 columns in width for optimal readability.
-Body copy, xl
-The largest body copy style. Use this style for long-form content only, like Topic and Article pages. Text should not exceed 8 columns in width for optimal readability.
-Body copy, lg
-The base body copy style for marketing use cases only, unless an app interface calls for a larger text size. Text should not exceed 8 columns in width for optimal readability.
-Body copy, md
-The base body copy style for app interfaces or some smaller components, unless a marketing use case calls for a smaller text size. Text should not exceed 7 columns in width for optimal readability.
-Body copy, sm
-The supporting body copy style for all use cases, like under Form fields or for attribution purposes. Text should not exceed 7 columns in width for optimal readability.
-Body copy, xs
-The smallest body copy style for legal or footnote use cases only. Text should not exceed 7 columns in width for optimal readability.
-Red Hat and open source
-We believe in collaboration. We believe in choice, control, and freedom. Open source values like meritocracy, community building, and transparency are changing the way we approach business and life.
-Linux platforms
-Red Hat Enterprise Linux
-Headline, xl
-Headline, lg
-Headline, min-width
-Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut suscipit aliquet mauris, in consequat lorem ullamcorper a. Curabitur tempor ante vitae ultrices dignissim.
-Foundations
-To learn how to use our other foundations in your designs, visit the foundations section.
-Language | +Font family | +
---|---|
Chinese | +Noto Sans Simplified Chinese | +
Japanese | +Noto Sans Japanese | +
Korean | +Noto Sans Korean | +
Foundations
+To learn how to use our other foundations in your designs, visit the foundations section.
+Style | +Font family | +Font weight | +Font size | +Line height | +
---|---|---|---|---|
Heading, 2xl | +Red Hat Display | +Regular (400) | +48 (3.0rem) | +62.4 (1.3) | +
Heading, xl | +Red Hat Display | +Regular (400) | +40 (2.5rem) | +52 (1.3) | +
Heading, lg | +Red Hat Display | +Medium (500) | +36 (2.25rem) | +46.8 (1.3) | +
Heading, md | +Red Hat Display | +Medium (500) | +28 (1.75rem) | +36.4 (1.3) | +
Heading, sm | +Red Hat Display | +Medium (500) | +24 (1.5rem) | +31.2 (1.3) | +
Heading, xs | +Red Hat Display | +Medium (500) | +20 (1.25rem) | +26 (1.3) | +
Style | +Font family | +Font weight | +Font size | +Line height | +
---|---|---|---|---|
Body text, 2xl | +Red Hat Text | +Regular (400) | +24 (1.5rem) | +36 (1.5) | +
Body text, xl | +Red Hat Text | +Regular (400) | +20 (1.25rem) | +30 (1.5) | +
Body text, lg | +Red Hat Text | +Regular (400) | +18 (1.125rem) | +27 (1.5) | +
Body text, md | +Red Hat Text | +Regular (400) | +16 (1.0rem) | +24 (1.5) | +
Body text, sm | +Red Hat Text | +Regular (400) | +14 (0.875rem) | +21 (1.5) | +
Body text, xs | +Red Hat Text | +Regular (400) | +12 (0.75rem) | +18 (1.5) | +
Style | +Font family | +Font weight | +Font size | +Line height | +
---|---|---|---|---|
Code text, 2xl | +Red Hat Mono | +Regular (400) | +24 (1.5rem) | +36 (1.5) | +
Code text, xl | +Red Hat Mono | +Regular (400) | +20 (1.25rem) | +30 (1.5) | +
Code text, lg | +Red Hat Mono | +Regular (400) | +18 (1.125rem) | +27 (1.5) | +
Code text, md | +Red Hat Mono | +Regular (400) | +16 (1.0rem) | +24 (1.5) | +
Code text, sm | +Red Hat Mono | +Regular (400) | +14 (0.875rem) | +21 (1.5) | +
Code text, xs | +Red Hat Mono | +Regular (400) | +12 (0.75rem) | +18 (1.5) | +
Style | +Font family | +Font weight | +Font size | +Line height | +
---|---|---|---|---|
Title, lg | +Red Hat Text | +Regular (400) | +24 (1.5rem) | +36 (1.5) | +
Title, sm | +Red Hat Text | +Regular (400) | +16 (1.0rem) | +24 (1.5) | +
Style | +Font family | +Font weight | +Font size | +Line height | +
---|---|---|---|---|
Blockquote, lg | +Red Hat Display | +Regular (400) | +28 (1.75rem) | +36.4 (1.3) | +
Blockquote, sm | +Red Hat Display | +Regular (400) | +20 (1.25rem) | +26 (1.3) | +
Style | +Font family | +Font weight | +Font size | +Line height | +
---|---|---|---|---|
Heading, 2xl | +Red Hat Display | +Regular (400) | +
+
Reduces to 35 + |
+
+
45.5 (1.3) + |
+
Heading, xl | +Red Hat Display | +Regular (400) | +
+
Reduces to 29 + |
+
+
37.7 (1.3) + |
+
Heading, lg | +Red Hat Display | +Medium (500) | +
+
Reduces to 26 + |
+
+
33.8 (1.3) + |
+
Heading, md | +Red Hat Display | +Medium (500) | +
+
Reduces to 24 + |
+
+
31.2 (1.3) + |
+
Heading, sm | +Red Hat Display | +Medium (500) | +
+
Reduces to 20 + |
+
+
26 (1.3) + |
+
Heading, xs | +Red Hat Display | +Medium (500) | +
+
Reduces to 18 + |
+
+
23.4 (1.3) + |
+
Style | +Font family | +Font weight | +Font size | +Line height | +
---|---|---|---|---|
Body text, 2xl | +Red Hat Text | +Regular (400) | +
+
Reduces to 20 + |
+
+
30 (1.5) + |
+
Body text, xl | +Red Hat Text | +Regular (400) | +
+
Reduces to 18 + |
+
+
27 (1.5) + |
+
Body text, lg | +Red Hat Text | +Regular (400) | +
+
Reduces to 16 + |
+
+
24 (1.5) + |
+
Body text, md | +Red Hat Text | +Regular (400) | +
+ 16 (1.0rem) +Does not change + |
+ 24 (1.5) | +
Body text, sm | +Red Hat Text | +Regular (400) | +
+ 14 (0.875rem) +Does not change + |
+ 21 (1.5) | +
Body text, xs | +Red Hat Text | +Regular (400) | +
+ 12 (0.75rem) +Does not change + |
+ 18 (1.5) | +
Style | +Font family | +Font weight | +Font size | +Line height | +
---|---|---|---|---|
Code text, 2xl | +Red Hat Mono | +Regular (400) | +
+
Reduces to 20 + |
+
+
30 (1.5) + |
+
Code text, xl | +Red Hat Mono | +Regular (400) | +
+
Reduces to 18 + |
+
+
27 (1.5) + |
+
Code text, lg | +Red Hat Mono | +Regular (400) | +
+
Reduces to 16 + |
+
+
24 (1.5) + |
+
Code text, md | +Red Hat Mono | +Regular (400) | +
+ 16 (1.0rem) +Does not change + |
+ 24 (1.5) | +
Code text, sm | +Red Hat Mono | +Regular (400) | +
+ 14 (0.875rem) +Does not change + |
+ 21 (1.5) | +
Code text, xs | +Red Hat Mono | +Regular (400) | +
+ 12 (0.75rem) +Does not change + |
+ 18 (1.5) | +
Style | +Font family | +Font weight | +Font size | +Line height | +
---|---|---|---|---|
Title, lg | +Red Hat Text | +Regular (400) | +
+
Reduces to 20 + |
+
+
30 (1.5) + |
+
Title, sm | +Red Hat Text | +Regular (400) | +
+ 16 (1.0rem) +Does not change + |
+ 24 (1.5) | +
Style | +Font family | +Font weight | +Font size | +Line height | +
---|---|---|---|---|
Blockquote, lg | +Red Hat Display | +Regular (400) | +
+
Reduces to 24 + |
+
+
31.2 (1.3) + |
+
Blockquote, sm | +Red Hat Display | +Regular (400) | +
+
Reduces to 18 + |
+
+
23.4 (1.3) + |
+
Foundations
+To learn how to use our other foundations in your designs, visit the foundations section.
+Use the correct font family for the correct use case.
+Do not use Red Hat Text for headings.
+Use the correct font family for the correct use case.
+Do not use Red Hat Display for blocks of body text on websites.
+Use comfortable spacing in between text styles.
+Do not space text too close together. Ensure users can read each style separately.
+Foundations
+To learn how to use our other foundations in your designs, visit the foundations section.
+Foundations
-Foundations are how we express our brand through color, space, typography, etc.
-Design tokens
-Design tokens are how we translate our design language decisions into code.
-Documentation
-This website offers guidance about how to use our elements and patterns. Learn how to apply them accessibily with developer-specific guidelines.
+Foundations
+Foundations are how we express our brand through color, space, typography, etc.
+Design tokens
+Design tokens are how we translate our design language decisions into code.
+Documentation
+This website offers guidance about how to use our + elements and patterns. + Learn how to apply them accessibily with + developer-specific guidelines.
+GitHub repositories
+Explore our code, roadmaps, and discussions in the + Red Hat Design System repo and the + Red Hat Design Tokens repo.
+GitHub repositories
-Explore our code, roadmaps, and discussions in the Red Hat Design System repo and the Red Hat Design Tokens repo.
+ +Designers
To get started using our design system as a designer, go to the Designers page.