Skip to main content Home
About About the Design SystemRoadmap
Get started OverviewDesignersDevelopers
Foundations OverviewColorGridIconographySpacingTypography
Tokens Overview Global colorbox shadowTypographyborderopacityspacelengthIconBreakpointsMedia Queries
Elements All elements Accordion Alert Announcement Audio player Avatar Back to top Badge Blockquote Breadcrumb Button Card Chip Code block Call to action Dialog Disclosure Footer Health index Icon Jump links Navigation (primary) Navigation (secondary) Pagination PopoverPlanned Progress stepsPlanned Site status Skip link Spinner Statistic Subnavigation Surface Switch Table Tabs Tag Tile Timestamp Tooltip Video embed
Theming OverviewColor PalettesCustomizingDevelopers
Patterns All PatternsCardTabsFilterFormLinkLink with iconLogo wallSearch barSkip navigationSticky bannerSticky cardTileVideo thumbnail
Personalization All Personalization PatternsAnnouncement
Accessibility FundamentalsAccessibility toolsAssistive technologiesCI/CDContentContributorsDesignDevelopmentManual testingResourcesScreen readers
Design/code status Release notes Get support

Border tokens

WidthRadiusColorWidthRadiusColor

Width

Ex. Token name Value Use case
--rh-border-width-sm 1px

1px border width; Example: Secondary CTA or Button

Full CSS Variable Permalink to this token
--rh-border-width-md 2px

2px border width: Example: Alert

Full CSS Variable Permalink to this token
--rh-border-width-lg 3px

3px border width: Example: Expanded Accordion panel

Full CSS Variable Permalink to this token

Radius

Ex. Token name Value Use case
--rh-border-radius-sharp 0.0px

Border radius reset

Full CSS Variable Permalink to this token
--rh-border-radius-default 3px

3px border radius; Example: Card

Full CSS Variable Permalink to this token
--rh-border-radius-pill 64px

Pill border radius; Example: Label

Full CSS Variable Permalink to this token

Color

Theme Tokens

--rh-color-border-strong --rh-color-border-subtle --rh-color-border-interactive --rh-color-border-destructive --rh-color-border-status-danger --rh-color-border-status-caution --rh-color-border-status-warning --rh-color-border-status-neutral --rh-color-border-status-info --rh-color-border-status-success --rh-color-border-strong --rh-color-border-subtle --rh-color-border-interactive --rh-color-border-destructive --rh-color-border-status-danger --rh-color-border-status-caution --rh-color-border-status-warning --rh-color-border-status-neutral --rh-color-border-status-info --rh-color-border-status-success

Strong

Responsive border-strong color value. Typically read only - use a themable container e.g. <rh-surface> Resolves to --rh-color-border-strong-on-light on a themable container with a light color palette and --rh-color-border-strong-on-dark on a themable container with a dark color palette

Ex. Token name Value Use case
--rh-color-border-strong light-dark(var(--rh-color-border-strong-on-light, #151515), var(--rh-color-border-strong-on-dark, #ffffff))

Responsive border-strong color value. Typically read only - use a themable container e.g. <rh-surface> Resolves to --rh-color-border-strong-on-light on a themable container with a light color palette and --rh-color-border-strong-on-dark on a themable container with a dark color palette

Full CSS Variable Permalink to this token
--rh-color-border-strong-on-light #151515

Strong border color (light theme)

Full CSS Variable Permalink to this token
--rh-color-border-strong-on-dark #ffffff

Strong border color (dark theme)

Full CSS Variable Permalink to this token

Subtle

Responsive border-subtle color value. Typically read-only - use a themable container, e.g. <rh-surface>. Resolves to --rh-color-border-subtle-on-light on a themable container with a light color palette and --rh-color-border-subtle-on-dark on a themable container with a dark color palette.

Ex. Token name Value Use case
--rh-color-border-subtle light-dark(var(--rh-color-border-subtle-on-light, #c7c7c7), var(--rh-color-border-subtle-on-dark, #707070))

Responsive border-subtle color value. Typically read-only - use a themable container, e.g. <rh-surface>. Resolves to --rh-color-border-subtle-on-light on a themable container with a light color palette and --rh-color-border-subtle-on-dark on a themable container with a dark color palette.

Full CSS Variable Permalink to this token
--rh-color-border-subtle-on-light #c7c7c7

Subtle border color (light theme)

Full CSS Variable Permalink to this token
--rh-color-border-subtle-on-dark #707070

Subtle border color (dark theme)

Full CSS Variable Permalink to this token

Interactive

Responsive border-interactive color value. Typically read-only - use a themable container, e.g. <rh-surface>. Resolves to --rh-color-border-interactive-on-light on a themable container with a light color palette and --rh-color-border-interactive-on-dark on a themable container with a dark color palette.

Ex. Token name Value Use case
--rh-color-border-interactive light-dark(var(--rh-color-border-interactive-on-light, #0066cc), var(--rh-color-border-interactive-on-dark, #92c5f9))

Responsive border-interactive color value. Typically read-only - use a themable container, e.g. <rh-surface>. Resolves to --rh-color-border-interactive-on-light on a themable container with a light color palette and --rh-color-border-interactive-on-dark on a themable container with a dark color palette.

Full CSS Variable Permalink to this token
--rh-color-border-interactive-on-light #0066cc

Interactive border color (light theme)

Full CSS Variable Permalink to this token
--rh-color-border-interactive-on-dark #92c5f9

Interactive border color (dark theme)

Full CSS Variable Permalink to this token

Destructive

Responsive border-destructive color value. Typically read-only - use a themable container, e.g. <rh-surface>. Resolves to --rh-color-border-destructive-on-light on a themable container with a light color palette and --rh-color-border-destructive-on-dark on a themable container with a dark color palette.

Ex. Token name Value Use case
--rh-color-border-destructive light-dark(var(--rh-color-border-destructive-on-light, #b1380b), var(--rh-color-border-destructive-on-dark, #f0561d))

Responsive border-destructive color value. Typically read-only - use a themable container, e.g. <rh-surface>. Resolves to --rh-color-border-destructive-on-light on a themable container with a light color palette and --rh-color-border-destructive-on-dark on a themable container with a dark color palette.

Full CSS Variable Permalink to this token
--rh-color-border-destructive-on-light #b1380b

Destructive border color (light theme)

Full CSS Variable Permalink to this token
--rh-color-border-destructive-on-dark #f0561d

Destructive border color (dark theme)

Full CSS Variable Permalink to this token

Status

Danger

Responsive border-danger color value. Typically read-only - use a themable container, e.g. <rh-surface>. Resolves to --rh-color-border-danger-on-light on a themable container with a light color palette and --rh-color-border-danger-on-dark on a themable container with a dark color palette.

Ex. Token name Value Use case
--rh-color-border-status-danger light-dark(var(--rh-color-border-status-danger-on-light, #b1380b), var(--rh-color-border-status-danger-on-dark, #f0561d))

Responsive border-danger color value. Typically read-only - use a themable container, e.g. <rh-surface>. Resolves to --rh-color-border-danger-on-light on a themable container with a light color palette and --rh-color-border-danger-on-dark on a themable container with a dark color palette.

Full CSS Variable Permalink to this token
--rh-color-border-status-danger-on-light #b1380b

Danger border color (light theme)

Full CSS Variable Permalink to this token
--rh-color-border-status-danger-on-dark #f0561d

Danger border color (dark theme)

Full CSS Variable Permalink to this token

Caution

Responsive border-caution color value. Typically read-only - use a themable container, e.g. <rh-surface>. Resolves to --rh-color-border-caution-on-light on a themable container with a light color palette and --rh-color-border-caution-on-dark on a themable container with a dark color palette.

Ex. Token name Value Use case
--rh-color-border-status-caution light-dark(var(--rh-color-border-status-caution-on-light, #ca6c0f), var(--rh-color-border-status-caution-on-dark, #f5921b))

Responsive border-caution color value. Typically read-only - use a themable container, e.g. <rh-surface>. Resolves to --rh-color-border-caution-on-light on a themable container with a light color palette and --rh-color-border-caution-on-dark on a themable container with a dark color palette.

Full CSS Variable Permalink to this token
--rh-color-border-status-caution-on-light #ca6c0f

Caution border color (light theme)

Full CSS Variable Permalink to this token
--rh-color-border-status-caution-on-dark #f5921b

Caution border color (dark theme)

Full CSS Variable Permalink to this token

Warning

Responsive border-warning color value. Typically read-only - use a themable container, e.g. <rh-surface>. Resolves to --rh-color-border-warning-on-light on a themable container with a light color palette and --rh-color-border-warning-on-dark on a themable container with a dark color palette.

Ex. Token name Value Use case
--rh-color-border-status-warning light-dark(var(--rh-color-border-status-warning-on-light, #dca614), var(--rh-color-border-status-warning-on-dark, #ffcc17))

Responsive border-warning color value. Typically read-only - use a themable container, e.g. <rh-surface>. Resolves to --rh-color-border-warning-on-light on a themable container with a light color palette and --rh-color-border-warning-on-dark on a themable container with a dark color palette.

Full CSS Variable Permalink to this token
--rh-color-border-status-warning-on-light #dca614

Warning border color (light theme)

Full CSS Variable Permalink to this token
--rh-color-border-status-warning-on-dark #ffcc17

Warning border color (dark theme)

Full CSS Variable Permalink to this token

Neutral

Responsive border-neutral color value. Typically read-only - use a themable container, e.g. <rh-surface>. Resolves to --rh-color-border-neutral-on-light on a themable container with a light color palette and --rh-color-border-neutral-on-dark on a themable container with a dark color palette.

Ex. Token name Value Use case
--rh-color-border-status-neutral light-dark(var(--rh-color-border-status-neutral-on-light, #4d4d4d), var(--rh-color-border-status-neutral-on-dark, #c7c7c7))

Responsive border-neutral color value. Typically read-only - use a themable container, e.g. <rh-surface>. Resolves to --rh-color-border-neutral-on-light on a themable container with a light color palette and --rh-color-border-neutral-on-dark on a themable container with a dark color palette.

Full CSS Variable Permalink to this token
--rh-color-border-status-neutral-on-light #4d4d4d

Neutral border color (light theme)

Full CSS Variable Permalink to this token
--rh-color-border-status-neutral-on-dark #c7c7c7

Neutral border color (dark theme)

Full CSS Variable Permalink to this token

Info

Responsive border-info color value. Typically read-only - use a themable container, e.g. <rh-surface>. Resolves to --rh-color-border-info-on-light on a themable container with a light color palette and --rh-color-border-info-on-dark on a themable container with a dark color palette.

Ex. Token name Value Use case
--rh-color-border-status-info light-dark(var(--rh-color-border-status-info-on-light, #5e40be), var(--rh-color-border-status-info-on-dark, #b6a6e9))

Responsive border-info color value. Typically read-only - use a themable container, e.g. <rh-surface>. Resolves to --rh-color-border-info-on-light on a themable container with a light color palette and --rh-color-border-info-on-dark on a themable container with a dark color palette.

Full CSS Variable Permalink to this token
--rh-color-border-status-info-on-light #5e40be

Info border color (light theme)

Full CSS Variable Permalink to this token
--rh-color-border-status-info-on-dark #b6a6e9

Info border color (dark theme)

Full CSS Variable Permalink to this token

Success

Responsive border-success color value. Typically read-only - use a themable container, e.g. <rh-surface>. Resolves to --rh-color-border-success-on-light on a themable container with a light color palette and --rh-color-border-success-on-dark on a themable container with a dark color palette.

Ex. Token name Value Use case
--rh-color-border-status-success light-dark(var(--rh-color-border-status-success-on-light, #3d7317), var(--rh-color-border-status-success-on-dark, #87bb62))

Responsive border-success color value. Typically read-only - use a themable container, e.g. <rh-surface>. Resolves to --rh-color-border-success-on-light on a themable container with a light color palette and --rh-color-border-success-on-dark on a themable container with a dark color palette.

Full CSS Variable Permalink to this token
--rh-color-border-status-success-on-light #3d7317

Success border color (light theme)

Full CSS Variable Permalink to this token
--rh-color-border-status-success-on-dark #87bb62

Success border color (dark theme)

Full CSS Variable Permalink to this token

Other libraries

To learn more about our other libraries, visit the getting started page.

© 2021-2025 Red Hat, Inc. Deploys by Netlify