Border tokens

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

Strong

Ex. Token name Value Use case
--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

Ex. Token name Value Use case
--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

Ex. Token name Value Use case
--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

Ex. Token name Value Use case
--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

Ex. Token name Value Use case
--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

Ex. Token name Value Use case
--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

Ex. Token name Value Use case
--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

Ex. Token name Value Use case
--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

Ex. Token name Value Use case
--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

Ex. Token name Value Use case
--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.