Token Library
All tokens supplied by Capital Design System.
Colors
Grays
Name | Value | Example |
---|---|---|
color-white | rgba(255, 255, 255, 1)#FFFFFF | |
color-gray-50 | rgba(247, 249, 250, 1)#F7F9FA | |
color-gray-100 | rgba(239, 242, 245, 1)#EFF2F5 | |
color-gray-200 | rgba(223, 227, 232, 1)#DFE3E8 | |
color-gray-300 | rgba(206, 210, 214, 1)#CED2D6 | |
color-gray-400 | rgba(181, 185, 189, 1)#B5B9BD | |
color-gray-500 | rgba(154, 157, 161, 1)#9A9DA1 | |
color-gray-600 | rgba(130, 132, 135, 1)#828487 | |
color-gray-700 | rgba(97, 99, 101, 1)#616365 | |
color-gray-800 | rgba(77, 79, 81, 1)#4D4F51 | |
color-gray-900 | rgba(56, 59, 61, 1)#383B3D | |
color-gray-1000 | rgba(19, 21, 23, 1)#131517 |
Primary
Name | Value | Example |
---|---|---|
color-primary-brand | rgba(22, 92, 171, 1)#165CAB | |
color-primary-medium | rgba(4, 65, 135, 1)#044187 | |
color-primary-dark | rgba(7, 48, 92, 1)#07305C | |
color-primary-selection | rgba(31, 118, 216, 1)#1F76D8 | |
color-primary-selection-a70 | rgba(31, 118, 216, .7)#1F76D8, Opacity .7 | |
color-primary-selection-a50 | rgba(31, 118, 216, .5)#1F76D8, Opacity .5 | |
color-primary-hover | rgba(194, 229, 255, 1)#C2E5FF | |
color-primary-hover-a50 | rgba(194, 229, 255, .5)#C2E5FF, Opacity .5 | |
color-primary-hover-light | rgba(224, 242, 255, 1)#E0F2FF | |
color-primary-focus | rgba(0, 149, 255, 1)#0095FF |
Semantic
Name | Value | Example |
---|---|---|
color-info-50 | rgba(240, 247, 255, 1)#F0F7FF | |
color-info-100 | rgba(217, 235, 255, 1)#D9EBFF | |
color-info-200 | rgba(180, 214, 250, 1)#B4D6FA | |
color-info-300 | rgba(145, 192, 242, 1)#91C0F2 | |
color-info-400 | rgba(117, 174, 235, 1)#75AEEB | |
color-info-500 | rgba(91, 152, 217, 1)#5B98D9 | |
color-info-600 | rgba(71, 129, 191, 1)#4781BF | |
color-info-700 | rgba(46, 98, 153, 1)#2E6299 | |
color-info-800 | rgba(29, 70, 115, 1)#1D4673 | |
color-info-900 | rgba(15, 45, 77, 1)#0F2D4D | |
color-info-1000 | rgba(0, 25, 51, 1)#001933 | |
color-error-50 | rgba(255, 236, 232, 1)#FFECE8 | |
color-error-100 | rgba(255, 218, 209, 1)#FFDAD1 | |
color-error-200 | rgba(250, 189, 175, 1)#FABDAF | |
color-error-300 | rgba(245, 157, 137, 1)#F59D89 | |
color-error-400 | rgba(232, 126, 102, 1)#E87E66 | |
color-error-500 | rgba(224, 105, 79, 1)#E0694F | |
color-error-600 | rgba(209, 83, 54, 1)#D15336 | |
color-error-700 | rgba(178, 62, 36, 1)#B23E24 | |
color-error-800 | rgba(148, 42, 18, 1)#942A12 | |
color-error-900 | rgba(107, 28, 11, 1)#6B1C0B | |
color-error-1000 | rgba(76, 14, 0, 1)#4C0E00 | |
color-in-progress-50 | rgba(245, 235, 250, 1)#F5EBFA | |
color-in-progress-100 | rgba(236, 215, 245, 1)#ECD7F5 | |
color-in-progress-200 | rgba(229, 199, 242, 1)#E5C7F2 | |
color-in-progress-300 | rgba(205, 171, 219, 1)#CDABDB | |
color-in-progress-400 | rgba(179, 143, 194, 1)#B38FC2 | |
color-in-progress-500 | rgba(160, 123, 176, 1)#A07BB0 | |
color-in-progress-600 | rgba(136, 95, 153, 1)#885F99 | |
color-in-progress-700 | rgba(107, 71, 122, 1)#6B477A | |
color-in-progress-800 | rgba(84, 52, 97, 1)#543461 | |
color-in-progress-900 | rgba(59, 36, 69, 1)#3B2445 | |
color-in-progress-1000 | rgba(35, 20, 41, 1)#231429 | |
color-warning-50 | rgba(255, 238, 219, 1)#FFEEDB | |
color-warning-100 | rgba(255, 224, 189, 1)#FFE0BD | |
color-warning-200 | rgba(255, 207, 153, 1)#FFCF99 | |
color-warning-300 | rgba(250, 189, 120, 1)#FABD78 | |
color-warning-400 | rgba(240, 171, 93, 1)#F0AB5D | |
color-warning-500 | rgba(229, 149, 57, 1)#E59539 | |
color-warning-600 | rgba(219, 131, 31, 1)#DB831F | |
color-warning-700 | rgba(199, 113, 16, 1)#C77110 | |
color-warning-800 | rgba(176, 98, 9, 1)#B06209 | |
color-warning-900 | rgba(153, 83, 3, 1)#995303 | |
color-warning-1000 | rgba(112, 60, 0, 1)#703C00 |
Visualisation
Name | Value | Example |
---|---|---|
color-viz-1 | rgba(71, 129, 191, 1)#4781BF | |
color-viz-2 | rgba(161, 187, 229, 1)#A1BBE5 | |
color-viz-3 | rgba(229, 149, 57, 1)#E59539 | |
color-viz-4 | rgba(232, 206, 139, 1)#E8CE8B | |
color-viz-5 | rgba(111, 93, 168, 1)#6F5DA8 | |
color-viz-6 | rgba(205, 171, 219, 1)#CDABDB | |
color-viz-7 | rgba(61, 153, 144, 1)#3D9990 | |
color-viz-8 | rgba(124, 207, 180, 1)#7CCFB4 | |
color-viz-9 | rgba(76, 95, 181, 1)#4C5FB5 | |
color-viz-10 | rgba(151, 154, 204, 1)#979ACC | |
color-viz-11 | rgba(204, 94, 105, 1)#CC5E69 | |
color-viz-12 | rgba(237, 161, 159, 1)#EDA19F | |
color-viz-13 | rgba(70, 146, 176, 1)#4692B0 | |
color-viz-14 | rgba(139, 212, 214, 1)#8BD4D6 | |
color-viz-15 | rgba(224, 105, 79, 1)#E0694F | |
color-viz-16 | rgba(245, 164, 130, 1)#F5A482 | |
color-viz-17 | rgba(84, 153, 112, 1)#549970 | |
color-viz-18 | rgba(154, 217, 164, 1)#9AD9A4 | |
color-viz-19 | rgba(156, 65, 116, 1)#9C4174 | |
color-viz-20 | rgba(207, 124, 146, 1)#CF7C92 |
Typography
Font Family
Name | Value | Example |
---|---|---|
base-font | "Benton Sans", Arial, sans-serif | Aa Bb Cc |
base-font-condensed | "Benton Sans Condensed", Arial Narrow, sans-serif | Aa Bb Cc |
Font Size
Name | Value | Example |
---|---|---|
font-size-maximum | 3rem48px | Aa |
font-size-xxlarge | 2.5rem40px | Aa |
font-size-xlarge | 1.75rem28px | Aa |
font-size-large | 1.25rem20px | Aa |
font-size-default | 1rem16px | Aa |
font-size-small | 0.875rem14px | Aa |
font-size-minimum | 0.75rem12px | Aa |
font-size-base | 16px | Aa |
Letter Spacing
Name | Value | Example |
---|---|---|
letter-spacing-default | 0.0125em | Aa |
letter-spacing-cap | 0.05em | Aa |
Line Height
Name | Value | Example |
---|---|---|
line-height-default | 1.5 | Aa Bb Cc |
line-height-tight | 1.25 | Aa Bb Cc |
line-height-small-font | 1.125rem | Aa Bb Cc |
Font Weight
Name | Value | Example |
---|---|---|
font-weight-thin | 100 | Aa |
font-weight-extra-light | 200 | Aa |
font-weight-light | 300 | Aa |
font-weight-book | 400 | Aa |
font-weight-regular | 500 | Aa |
font-weight-medium | 600 | Aa |
font-weight-bold | 700 | Aa |
font-weight-black | 800 | Aa |
Layout
Unit
Name | Value |
---|---|
unit-1 | 8px8px |
unit-quarter | $unit-1 / 42px |
unit-half | $unit-1 / 24px |
unit-2 | 2 * $unit-116px |
unit-3 | 3 * $unit-124px |
unit-4 | 4 * $unit-132px |
unit-5 | 5 * $unit-140px |
unit-6 | 6 * $unit-148px |
unit-7 | 7 * $unit-156px |
unit-8 | 8 * $unit-164px |
unit-9 | 9 * $unit-172px |
unit-10 | 10 * $unit-180px |
unit-15 | 15 * $unit-1120px |
unit-20 | 20 * $unit-1160px |
unit-25 | 25 * $unit-1200px |
unit-30 | 30 * $unit-1240px |
unit-35 | 35 * $unit-1280px |
unit-40 | 40 * $unit-1320px |
unit-45 | 45 * $unit-1360px |
unit-50 | 50 * $unit-1400px |
unit-55 | 55 * $unit-1440px |
unit-60 | 60 * $unit-1500px |
unit-65 | 65 * $unit-1540px |
unit-70 | 70 * $unit-1580px |
unit-75 | 75 * $unit-1620px |
unit-80 | 80 * $unit-1660px |
unit-90 | 90 * $unit-1700px |
unit-100 | 100 * $unit-1740px |
unit-110 | 110 * $unit-1780px |
unit-120 | 120 * $unit-1820px |
Z-Index
Name | Value |
---|---|
z-index-overlay | 1000 |
z-index-dialog | 900 |
z-index-alert | 800 |
z-index-flash | 700 |
z-index-main-nav | 600 |
z-index-form | 500 |
z-index-panel | 400 |
z-index-main-panel | 400 |
z-index-sub-panel | 400 |
z-index-header | 300 |
z-index-editable | 200 |
z-index-content | 100 |
z-index-ground | 1 |
Media Query
Name | Value |
---|---|
mq-xsmall | screen and (max-width: 464px) |
mq-small | screen and (min-width: 465px) and (max-width: 728px) |
mq-small-up | screen and (min-width: 465px) |
mq-medium | screen and (min-width: 729px) and (max-width: 1076px) |
mq-medium-up | screen and (min-width: 729px) |
mq-large | screen and (min-width: 1077px) and (max-width: 1436px) |
mq-large-up | screen and (min-width: 1077px) |
mq-xlarge | screen and (min-width: 1436px) |
mq-xlarge-up | screen and (min-width: 1436px) |
Containers
Border
Name | Value | Example |
---|---|---|
border-transparent | 1px solid transparent | |
border-gray-100 | 1px solid $color-gray-100 | |
border-gray-200 | 1px solid $color-gray-200 | |
border-gray-300 | 1px solid $color-gray-300 | |
border-gray-400 | 1px solid $color-gray-400 | |
border-gray-700 | 1px solid $color-gray-700 | |
border-primary-medium | 1px solid $color-primary-medium | |
border-primary-dark | 1px solid $color-primary-dark | |
border-primary-active | 1px solid $color-primary-focus | |
border-primary-focus | 2px solid $color-primary-focus | |
border-error-600 | 1px solid $color-error-600 | |
border-error-700 | 1px solid $color-error-700 | |
border-error-800 | 1px solid $color-error-800 | |
border-error-900 | 1px solid $color-error-900 | |
border-success-500 | 1px solid $color-success-500 | |
border-warning-500 | 1px solid $color-warning-500 | |
border-radius-default | 3px | |
border-radius-small | 1px | |
border-radius-curve | 10em 5em |
Box Shadow
Name | Value | Example |
---|---|---|
box-shadow-soft | 0 2px 4px 0 rgba(19, 21, 23, 0.3) | |
box-shadow-soft-overlay | 0 4px 8px 0 rgba(19, 21, 23, 0.6) | |
box-shadow-soft-selected | 0 1px 3px 0 rgba(7, 48, 92, 0.5) | |
box-shadow-hard | 0 1px 0 0 rgba(181, 185, 189, 1) | |
box-shadow-hard-hover | 0 1px 3px 0 rgba(97, 99, 101, 1) | |
box-shadow-hard-focus | 0 1px 0 0 rgba(0, 149, 255, 1) | |
box-shadow-hard-selected | 0 1px 0 0 rgba(7, 48, 92, 0.5) | |
box-shadow-inset-dark | inset 0 2px 3px 1px rgba(19, 21, 23, 0.6) | |
box-shadow-inset-light | inset 0 2px 3px 1px rgba(19, 21, 23, 0.3) | |
box-shadow-above | 0 2px 4px 0 rgba(19, 21, 23, 0.10) | |
box-shadow-below | 0 -2px 4px 0 rgba(19, 21, 23, 0.10) | |
box-shadow-focus | 0 0 0 2px $color-primary-focus | |
box-shadow-focus-wrap | 0 0 0 1px $color-primary-focus | |
box-shadow-primary | inset 0 2em 1.8em -1em $color-primary-selection-a70 | |
box-shadow-primary-hover | inset 0 1em 1em -1em $color-primary-selection-a70 | |
box-shadow-neutral | inset 0 -2em 1.8em -1em $color-gray-100 | |
box-shadow-neutral-hover | inset 0 -1em 1em -1em $color-gray-100 | |
box-shadow-error | inset 0 2em 1.8em -1em $color-error-600 | |
box-shadow-error-hover | inset 0 1em 1em -1em $color-error-600 | |
box-shadow-neutral-affix | inset 0 2em 1.8em -1em $color-gray-50 | |
box-shadow-neutral-affix-hover | inset 0 1em 1em -1em $color-gray-50 |
Background
Name | Value | Example |
---|---|---|
background-primary | $color-primary-medium | |
background-neutral | $color-white | |
background-error | $color-error-700 | |
background-neutral-affix | $color-gray-200 |
Gradient
Name | Value | Example |
---|---|---|
gradient-success | linear-gradient(-180deg, $color-success-500, $color-success-600) | |
gradient-warning | linear-gradient(-180deg, $color-warning-500, $color-warning-700) | |
gradient-error | linear-gradient(-180deg, $color-error-600, $color-error-700) | |
gradient-info | linear-gradient(-180deg, $color-info-600, $color-info-700) | |
gradient-chrome | linear-gradient(-180deg, $color-gray-50, $color-gray-300) |
Animation
Transition
Name | Value |
---|---|
transition-natural | all 300ms ease |
transition-entrance | all 300ms ease-out |
transition-exit | all 300ms ease-in |
Banners
Banner Borders
Name | Value | Example |
---|---|---|
banner-border-info | 1px solid $color-info-600 | |
banner-border-success | 1px solid $color-success-600 | |
banner-border-error | 1px solid $color-error-600 | |
banner-border-warning | 1px solid $color-warning-600 | |
banner-border-neutral | $border-gray-300 | |
banner-border-light | $border-gray-300 |
Banner Background
Name | Value | Example |
---|---|---|
banner-background-info | $color-info-50 | |
banner-background-success | $color-success-50 | |
banner-background-error | $color-error-50 | |
banner-background-warning | $color-warning-50 | |
banner-background-neutral | $color-white | |
banner-background-light | $color-gray-100 |
Banner Icon
Name | Value | Example |
---|---|---|
banner-icon-info | $color-info-700 | |
banner-icon-success | $color-success-700 | |
banner-icon-error | $color-error-700 | |
banner-icon-warning | $color-warning-700 | |
banner-icon-neutral | $color-gray-1000 | |
banner-icon-light | $color-gray-700 |
Popups
Max Widths
Name | Value |
---|---|
popup-max-width-narrow | 480px$unit-60 |
popup-max-width-default | 640px$unit-80 |
popup-max-width-wide | 960px$unit-120 |
Tables
Heights
Name | Value |
---|---|
table-header-height | 50px |
table-group-header-height | 50px |
table-row-height-default | 50px |
table-row-height-condensed | 40px |
table-row-height-extra-condensed | 28px |
table-summary-row-height-single | 60px |
table-summary-row-height-multi | 32px |
Shadows
Name | Value | Example |
---|---|---|
table-fixed-col-shadow | 2px 0 4px 0 rgba(19, 21, 23, 0.2) | |
table-fixed-row-shadow | 0 2px 4px 0 rgba(19, 21, 23, 0.2) |
Visualisations
Hover
Name | Value |
---|---|
viz-hover-opacity | 0.25 |
viz-hover-filter | grayscale(0.8) |
Table of Contents
- ColorsGraysPrimarySemanticVisualisation
- TypographyFont FamilyFont SizeLetter SpacingLine HeightFont Weight
- LayoutUnitZ-IndexMedia Query
- ContainersBorderBox ShadowBackgroundGradient
- AnimationTransition
- BannersBanner BordersBanner BackgroundBanner Icon
- PopupsMax Widths
- TablesHeightsShadows
- VisualisationsHover