Styleguide

Design tokens are the atomic elements of a design system, essentially named variables that store all visual design decisions like colors, typography scales, spacing units, and animation timings. They act as a single source of truth, replacing hard-coded values in code and design tools alike. This allows for seamless updates across all platforms and components, ensuring consistent branding and a cohesive user experience while significantly improving collaboration between designers and developers.

Color Variables

Variable NameValueColor PreviewDescription
Base Colors
--color-currentcurrentColor-Inherits the current text color
--color-transparenttransparent-Fully transparent color
--color-white#ffffff

Pure white
--color-black#1b1b1b

Dark charcoal black
Main Color Palette (Figma Blue)
--color-main-5#ebfbff

Lightest cyan tint
--color-main-10#caf0f8

Very light cyan
--color-main-15#ade8f4

Light cyan
--color-main-25#90e0ef

Medium-light cyan
--color-main-50#48cae4

Medium cyan
--color-main-100#00b4d8

Medium-dark cyan
--color-main-150#0096c7

Dark cyan
--color-main-200#023e8a

Main or Primary blue
--color-main-300#03045e

Dark navy blue
--color-main-400#01022d

Very dark navy
--color-main-500#010121

Darkest navy
Gray Palette (Figma Neutral)
--color-gray-25#f8f8f8

Ultra light gray
--color-gray-50#f4f4f4

Very light gray
--color-gray-100#e7e7e7

Light gray
--color-gray-200#cecece

Medium-light gray
--color-gray-300#b6b6b6

Medium gray
--color-gray-400#9b9b9b

Medium-dark gray
--color-gray-500#818181

Dark gray
--color-gray-600#686868

Darker gray
--color-gray-700#4e4e4e

Very dark gray
--color-gray-800#353535

Almost black gray
--color-gray-900#1b1b1b

Darkest gray (same as black)
New Blues (Figma New-Blues)
--color-blue-1#023e8a

Primary blue
--color-blue-2#0096c7

Medium blue
--color-blue-3#00b4d8

Light blue
--color-blue-4#48cae4

Light cyan blue
--color-blue-5#90e0ef

Very light cyan
--color-blue-6#ade8f4

Pale cyan
--color-blue-7#caf0f8

Lightest cyan
--color-blue#03045e

Blue main (navy)
Red Colors
--color-red-200#fecaca

Light red
--color-red-300#fca5a5

Medium-light red
--color-red-400#f87171

Medium red
--color-red-500#ef4444

Base red
--color-red-600#dc2626

Dark red
--color-red-700#b91c1c

Very dark red
Teal Colors
--color-teal-50#00cefc

Bright teal
--color-teal-100#04c3cf

Medium teal
--color-teal-200#00a4ba

Dark teal
--color-teal-300#0167a2

Very dark teal
Status Colors
--color-yellowvar(--color-yellow)

Warning/Attention (Amphenol RF Yellow)
--color-errorvar(--_error)

Error/danger color (references theme variable)
--color-successvar(--_success)

Success color (references theme variable)

Typography Variables

Variable NameValuePreviewDescription
Heading Typography
--text-h1clamp(2.25rem, 2.2488rem + 0.2791vw, 2.5rem)
H1
Main heading size with responsive scaling
--text-h1--line-height1.2-Line height for H1 headings
--text-h2clamp(2rem, 1.9988rem + 0.2791vw, 2.25rem)
H2
Secondary heading size with responsive scaling
--text-h2--line-height1.222-Line height for H2 headings
--text-h3clamp(1.75rem, 1.7488rem + 0.2791vw, 2rem)
H3
Tertiary heading size with responsive scaling
--text-h3--line-height1.25-Line height for H3 headings
--text-h4clamp(1.5rem, 1.4988rem + 0.2791vw, 1.75rem)
H4
Fourth level heading size with responsive scaling
--text-h4--line-height1.285-Line height for H4 headings
--text-h5clamp(1.25rem, 1.2488rem + 0.2791vw, 1.5rem)
H5
Fifth level heading size with responsive scaling
--text-h5--line-height1.3333-Line height for H5 headings
--text-h6clamp(1.125rem, 1.1244rem + 0.1396vw, 1.25rem)
H6
Smallest heading size with responsive scaling
--text-h6--line-height1.4-Line height for H6 headings
Display Typography
--text-display-lgclamp(2.75rem, 2.7476rem + 0.5583vw, 3.25rem)
Display LG
Large display text for hero sections
--text-display-lg--line-height1.2-Line height for large display text
--text-display-smclamp(2.5rem, 2.4988rem + 0.2791vw, 2.75rem)
Display SM
Small display text for prominent sections
--text-display-sm--line-height1.2-Line height for small display text
Paragraph Typography
--text-p-lg18px
Large paragraph text
Large paragraph text (18px)
--text-p-lg--line-height1.333-Line height for large paragraph text
--text-p-md16px
Medium paragraph text
Medium paragraph text (16px)
--text-p-md--line-height1.5-Line height for medium paragraph text
--text-p-sm14px
Small paragraph text
Small paragraph text (14px)
--text-p-sm--line-height1.4285-Line height for small paragraph text
--text-p-xs12px
Extra small paragraph text
Extra small paragraph text (12px)
--text-p-xs--line-height1.666-Line height for extra small paragraph text
Label Typography
--text-label-lg16px
Large Label
Large label text (16px)
--text-label-lg--line-height1.125-Line height for large label text
--text-label-md14px
Medium Label
Medium label text (14px)
--text-label-md--line-height1.4285-Line height for medium label text
--text-label-sm12px
Small Label
Small label text (12px)
--text-label-sm--line-height1.3333-Line height for small label text
--text-label-xs10px
Extra Small Label
Extra small label text (10px)
--text-label-xs--line-height1.4-Line height for extra small label text
Letter Spacing
--tracking-2-0.02em
Tight spacing
Tight letter spacing for headings
Font Weights
--font-weight-light300
Light
Light font weight
--font-weight-normal400
Normal
Normal font weight
--font-weight-medium500
Medium
Medium font weight
--font-weight-semibold600
Semibold
Semi-bold font weight
--font-weight-bold700
Bold
Bold font weight
--font-weight-extrabold800
Extra Bold
Extra bold font weight

Other Variables

Variable NameValueDescription
Line Height
--leading-close1.1Tight line height for headings
Shadows
--shadow-border0 0 0 -1px --alpha(var(--color-black) / 10%)Border shadow effect
--shadow-xs0px 1px 2px --alpha(var(--color-black) / 4%)Extra small shadow
--shadow-sm0px 2px 6px --alpha(var(--color-black) / 6%)Small shadow
--shadow-md0px 6px 15px -2px --alpha(var(--color-black) / 8%)Medium shadow
--shadow-lg0px 8px 24px -3px --alpha(var(--color-black) / 10%)Large shadow
--shadow-xl0px 20px 40px -8px --alpha(var(--color-black) / 10%)Extra large shadow
--shadow-2xl0px 25px 60px -15px --alpha(var(--color-black) / 12%)2X large shadow
Border Radius
--radius-xs0.125remExtra small border radius (2px)
--radius-sm0.25remSmall border radius (4px)
--radius-md0.5remMedium border radius (8px)
--radius-lg0.625remLarge border radius (10px)
--radius-xl0.5remExtra large border radius (8px)
--radius-2xl1.25rem2X large border radius (20px)
--radius-full99remFull border radius (circular)
--radius-opposite20px 0 20px 0Asymmetric corner radius pattern
Z-Index
--z-index-00Base z-index level
--z-index-11Z-index level 1
--z-index-22Z-index level 2
--z-index-33Z-index level 3
--z-index-44Z-index level 4
--z-index-55Z-index level 5
Spacing (Character-based)
--spacing-ch-0_50.5chHalf character width spacing
--spacing-ch-11chOne character width spacing
--spacing-ch-22chTwo character width spacing
Responsive Padding
--pad-2xlclamp(6rem, 0.05rem + 11.2vw, 7.75rem)2X large responsive padding (96px-124px)
--pad-xlclamp(4rem, -2.8rem + 12.8vw, 6rem)Extra large responsive padding (64px-96px)
--pad-lgclamp(2rem, -4.8rem + 12.8vw, 4rem)Large responsive padding (32px-64px)
--pad-mdclamp(1.5rem, -0.2rem + 3.2vw, 2rem)Medium responsive padding (24px-32px)
--pad-sm1remSmall padding (16px)
--pad-xs0.5remExtra small padding (8px)
Breakpoints
--breakpoint-desktop1680pxDesktop breakpoint
--breakpoint-breakout1440pxBreakout layout breakpoint
--breakpoint-limit1290pxMaximum content width breakpoint
--breakpoint-tablet1100pxTablet breakpoint
--breakpoint-nav1000pxNavigation breakpoint
--breakpoint-tablet-sm849pxSmall tablet breakpoint
--breakpoint-mobile-lg700pxLarge mobile breakpoint
--breakpoint-mobile500pxMobile breakpoint