Skip to main content

Concorde Design tokens: CSS variables

Note: Concorde refers to the new Journey design.

Concorde Global Tokens​

🎨 Main Colors​

CSS VariableDefaultDescription
--concorde-primary-color#005eb4The main primary color. If modified, update --concorde-primary-color-rgb also.
--concorde-accent-color#005eb4This color is used to highlight headings.
--concorde-secondary-color#913997The main secondary color. If modified, update --concorde-secondary-color-rgb also.
--concorde-disabled-color#e0e2ecThe main disabled color.
--concorde-error-color#cc0005The main error color. If modified, update --concorde-error-color-rgb also.
--concorde-outline#74777fThe main color used for borders. Used directly in some Concorde components (Switch’s, Rating, Radio, Checkbox default color, Swipeable Drawer’s handle, Input default border color).
--concorde-divider-color#deeaf7The main color used for dividers. Used directly in some Concorde components (Shopping cart).
--concorde-primary-color-rgb0, 94, 180The rgb tuple version of --concorde-primary-color. Used to create transparent variations of the main primary color.
--concorde-secondary-color-rgb145, 57, 151The rgb tuple version of --concorde-secondary-color. Used to create transparent variations of the main secondary color.
--concorde-error-color-rgb255, 58, 63The rgb tuple version of --concorde-error-color. Used to create transparent variations of the main error color.

🎨 Text Colors​

CSS VariableDefaultDescription
--concorde-primary-text#001632The primary text color. If modified, update --concorde-primary-text-rgb also.
--concorde-secondary-text#717171The secondary text color. If modified, update --concorde-secondary-text-rgb also.
--concorde-disabled-text#43474eThe disabled text color. If modified, update --concorde-disabled-text-rgb also.
--concorde-disabled-label-text#8c9dadThe color used for disabled text.
--concorde-primary-text-rgb0, 22, 50The rgb tuple version of --concorde-primary-text. Used to create transparent variations of the primary text color.
--concorde-secondary-text-rgb113, 113, 113The rgb tuple version of --concorde-secondary-text. Used to create transparent variations of the secondary text color.

🎨 Background Colors​

CSS VariableDefaultDescription
--concorde-default-background#ffffffThe main background color. If modified, update --concorde-default-background-rgb also.
--concorde-surface-background#ffffffThe background color used for surfaces. Used in Layout & Blocks (Desktop Navigation Stepper, PV Rooftop Navigator, Placement on Card view, etc.).
--concorde-secondary-surface#f2f5faThe secondary background color used for elements on top of surfaces. A blend between the primary color and the surface background color.
--concorde-loading-background#e0e0e0The background color of the loaders.
--concorde-neutral-surface#e0e2ecThe neutral surface background. Used in Layout & Blocks (Desktop Navigation Stepper, PV Rooftop Navigator).
--concorde-default-background-rgb255, 255, 255The rgb tuple version of --concorde-default-background. Used to create transparent variations of the default background color.

πŸ”  Typography​

CSS VariableDefaultDescription
--concorde-font-family"Proxima Nova", Open Sans, Helvetica, Arial, sans-serifThe font family used. Note that the font must be loaded on the journey for this to work.
--concorde-text-3xl2remThe 3xl font size (h1).
--concorde-text-2xl1.75remThe 2xl font size (h2).
--concorde-text-xl1.5remThe xl font size (h3).
--concorde-text-lg1.25remThe lg font size (h4).
--concorde-text-base1remThe default text font size (h5, p).
--concorde-text-sm0.875remThe sm font size (h6).
--concorde-text-xs0.75remThe xs font size.

πŸŒ‘ Shadows​

CSS VariableDefaultDescription
--concorde-button-shadow-hover0 0.5rem 0.5rem -0.4remThe box shadow of the button hover state
--concorde-card-shadow0 0 1px rgba(0, 0, 0, 0.12), 0 8px 48px rgba(0, 0, 0, 0.08)The box shadow of the elevated card
--concorde-card-shadow-hover0 0 1px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.16)The box shadow of the elevated card hover state

🎭 Others​

CSS VariableDefaultDescription
--concorde-spacing0.25remThe default single spacing unit
--concorde-border-radius0.25remThe default border radius
--concorde-transition-effect0.25s ease-in-outThe default transition property
--concorde-disabled-opacity0.38The default opacity used for disabled states
--concorde-input-height48pxThe default input height for regular inputs

Concorde Layout Tokens​

CSS VariableDefaultDescription
--concorde-custom-layout-max-width1256pxThe maximum width of the journey.
--concorde-two-columns-content-widthcalc(7 / 12 * 100%)For Two column layouts, the percentage of the width assigned to the Content section. Ensure that together with the --concorde-two-columns-sidebar-width variable, the total width of the Two Column Layout is 100%.
--concorde-two-columns-sidebar-widthcalc(5 / 12 * 100%)For Two column layouts, the percentage of the width assigned to the Sidebar section. Ensure that together with the --concorde-two-columns-content-width variable, the total width of the Two Column Layout is 100%.
--concorde-topbar-backgroundvar(--concorde-primary-color)The background color of the navigation bar.
--concorde-topbar-logo-alignmentcenterChanges the alignment of the header logo. Can be flex-start and flex-end.

Concorde Block Tokens​

Summary Block​

CSS VariableDefaultDescription
--concorde-summary-block-bg-colorrgba(var(--concorde-primary-color-rgb), 0.1)The background color of the summary block.

Products Block​

CSS VariableDefaultDescription
--concorde-cashback-breakdown-border-colorrgba(var(--concorde-primary-color-rgb),0.15)The border color of the cashback breakdown.
--concorde-coupon-discount-colorvar(--concorde-error-color)The coupon discount color.
--concorde-coupon-cashback-colorvar(--concorde-secondary-color)The background color of the coupon cashback.
--concorde-product-tile-background-color#ffffffThe default background color of the product tiles.
--concorde-product-tile-hover-background-colorvar(--concorde-product-tile-background-color)The background color of the hover state of product tiles.
--product-concorde-tile-featured-color#efbf02The default border color of the featured product tile.
--product-concorde-tile-featured-label-color#ffffffThe default label text color of the featured product tile.

Concorde Components Tokens​

Autocomplete​

Refer to Input, Icon, Button & Menu tokens.

Badge​

None

Button​

CSS VariableExpected TypeDescriptionDefault
--concorde-button-label-colorstringThe label color of the buttonDepends on Button variant
--concorde-button-background-colorstringThe background color of the buttonDepends on Button variant
--concorde-button-hover-bg-colorstringThe background color of the hover state of the button
--concorde-button-active-bg-colorstringThe background color of the active state of the button
--concorde-button-gapstringThe gap between the button elementsDefaults to var(--concorde-spacing)
--concorde-primary-button-background-colorstringThe custom background color of the Primary Button (e.g., Next/Submit buttons)
--concorde-primary-button-hover-bg-colorstringThe custom background color of the hover state of the Primary Button (e.g., Next/Submit buttons)
--concorde-outlined-button-border-colorstringThe border color of the outlined button variantUsed in Toggle Group

Card​

CSS VariableExpected TypeDescriptionDefault
--concorde-card-background-colorstringThe background color of the cardvar(--concorde-surface-background)
--concorde-card-hover-background-colorstringThe background color of the card in hover statevar(--concorde-card-background-color)
--concorde-card-featured-textstringThe label text of a card in its featured state
--concorde-card-featured-colorstringThe border color of a card in its featured state#efbf02
--concorde-card-featured-label-colorstringThe color of the label text of a card in its featured state#ffffff

Checkbox​

CSS VariableExpected TypeDescriptionDefault
--concorde-checkbox-unchecked-colorstringThe color of the unchecked checkbox iconvar(--concorde-outline)
--concorde-checkbox-error-colorstringThe color of the checkbox in its error statevar(--concorde-error-color)
--concorde-checkbox-label-colorstringThe color of the checkbox labelvar(--concorde-primary-text)

Chip​

None

Circular Progress​

CSS VariableExpected TypeDescriptionDefault
--concorde-circular-progress-sizestringThe height and width of the circular progress40px
--concorde-circular-progress-speedstringThe speed of the progress0.8s

DatePicker​

Refer also to Input, Icon, & Icon Button tokens.

CSS VariableExpected TypeDescriptionDefault
--concorde-datepicker-calendar-bg-colorstringThe background color of the Datepicker calendarrgba(var(--concorde-default-background-rgb), 1)
--concorde-datepicker-day-colorstringThe default color of the Datepicker day (1, 2, 3, etc.)var(--concorde-secondary-text)
--concorde-datepicker-day-name-colorstringThe color of the Datepicker day name (Su, M, Tu, etc.)#43474e
--concorde-datepicker-separation-colorstringThe color of the vertical divider between Month Select and Time Select#c4c6cf
--concorde-datepicker-selected-colorstringThe color of selected day and time options#ffffff
--concorde-datepicker-selected-bg-colorstringThe background color of the selected day and time optionsvar(--concorde-primary-color)
--concorde-datepicker-header-navigation-icon-colorstringThe color of the month select and year select icons
--concorde-datepicker-border-radiusstringThe border radius of the Datepickermin(calc(var(--concorde-border-radius) * 2), 1.25rem)

Divider​

CSS VariableExpected TypeDescriptionDefault
--concorde-divider-custom-colorstringThe custom divider colorvar(--concorde-divider-color)
--concorde-divider-thicknessstringThe thickness of the divider1px

DottedLine​

CSS VariableExpected TypeDescriptionDefault
--concorde-dotted-line-custom-colorstringThe color of the dotted lineInherited color

Refer also to Input, Icon, Button, Icon Button & Menu tokens.

CSS VariableExpected TypeDescriptionDefault
--concorde-dropdown-menu-widthstringThe dropdown menu width

Expand Icon​

Refer to Icon tokens.

Iban Input​

Refer to Input & Spacing tokens.

Icon​

CSS VariableExpected TypeDescriptionDefault
--concorde-icon-colorstringThe color of the iconcurrentcolor
--concorde-icon-sizestringThe font size of the icon20px
--concorde-icon-hover-colorstringThe hover state colorvar(--concorde-icon-color)
--concorde-icon-is-filledstringEnables the filled icon state

Icon Button​

Refer to Icon & Button tokens.

Image​

None

Image Stepper​

Refer to Button & Mobile Stepper tokens.

Input​

CSS VariableExpected TypeDescriptionDefault
--concorde-input-colorstringThe color of the input textvar(--concorde-primary-text)
--concorde-input-background-colorstringBackground color of the input fieldtransparent
--concorde-input-border-colorstringBorder color of the input fieldvar(--concorde-outline)
--concorde-input-error-colorstringError color of the inputvar(--concorde-error-color)
--concorde-input-label-colorstringLabel text colorvar(--concorde-secondary-text)
--concorde-input-border-radiusstringBorder radiusmin(var(--concorde-border-radius), 20px)

Linear Progress​

CSS VariableExpected TypeDescriptionDefault
--concorde-linear-progress-background-colorstringBackground color of progress barrgba(var(--concorde-primary-color-rgb), 0.18)
--concorde-linear-progress-heightstringHeight of the progress bar4px
CSS VariableExpected TypeDescriptionDefault
--concorde-link-colorstringColor of the link
--concorde-link-hover-colorstringHover color of the linkvar(--concorde-link-color)

List​

CSS VariableExpected TypeDescriptionDefault
--concorde-list-item-hover-colorstringHover color for clickable list item
--concorde-list-item-hover-background-colorstringHover background for clickable list item
--concorde-list-item-selected-colorstringSelected color for clickable list item
--concorde-list-item-selected-background-colorstringSelected background for clickable list item
CSS VariableExpected TypeDescriptionDefault
--concorde-menu-bg-colorstringBackground color of menurgba(var(--concorde-default-background-rgb), 1)
--concorde-menu-item-hover-colorstringHover color of menu item
--concorde-menu-item-hover-bg-colorstringHover background of menu itemrgba(var(--concorde-primary-text-rgb), 0.12)
--concorde-menu-item-selected-colorstringSelected color of menu itemvar(--concorde-menu-item-hover-color)
--concorde-menu-item-selected-bg-colorstringSelected background of menu itemrgba(var(--concorde-primary-text-rgb), 0.12)

Mobile Stepper​

Refer also to Button tokens.

CSS VariableExpected TypeDescriptionDefault
--concorde-mobile-stepper-colorstringText color of mobile steppervar(--concorde-primary-text)
--concorde-mobile-stepper-background-colorstringBackground color of mobile stepper#ffffff
--concorde-mobile-stepper-step-background-colorstringStep indicator background color#e6eef7
--concorde-mobile-stepper-active-step-background-colorstringActive step background colorvar(--concorde-primary-color)
CSS VariableExpected TypeDescriptionDefault
--concorde-modal-spacingstringSpacing in modalcalc(var(--concorde-spacing) * 5)

Popover​

None

Radio​

CSS VariableExpected TypeDescriptionDefault
--concorde-radio-label-colorstringThe color of the radio labelvar(--concorde-primary-text)
--concorde-radio-unchecked-colorstringThe unchecked color of a radiovar(--concorde-outline)
--concorde-radio-error-colorstringThe color of a radio in error statevar(--concorde-error-color)

Radio Group​

Refer also to Radio tokens.

CSS VariableExpected TypeDescriptionDefault
--concorde-radio-group-scalenumberThe spacing multiplier of a radio group4

Rating​

Refer also to Icon Button & Tooltip tokens.

CSS VariableExpected TypeDescriptionDefault
--concorde-rating-unchecked-colorstringThe unchecked color of the ratingvar(--concorde-outline)
--concorde-rating-checked-colorstringThe checked color of the rating and hover color of the unchecked ratingvar(--concorde-primary-color)

Spacing​

Variants: Inset, Inline & Stack

CSS VariableExpected TypeDescriptionDefault
--concorde-spacing-scalenumberThe spacing multiplier1
--concorde-spacing-align-itemsstringThe CSS align-items property of the spacing elementflex-start
--concorde-spacing-justify-contentstringThe CSS justify-content property of the spacing elementvar(--concorde-spacing-align-items)

Stepper Input​

Refer also to Icon Button tokens.

CSS VariableExpected TypeDescriptionDefault
--concorde-stepper-field-error-colorstringThe error state color of the inputvar(--concorde-error-color)
--concorde-stepper-field-border-colorstringThe border color of the inputvar(--concorde-outline)
--concorde-text-field-colorstringThe color of the inputvar(--concorde-primary-text)
--concorde-text-field-background-colorstringThe background color of the inputvar(--concorde-default-background)

Swiperable Drawer​

None

Switch​

CSS VariableExpected TypeDescriptionDefault
--concorde-switch-unchecked-colorstringThe color of the unchecked switchvar(--concorde-outline)
--concorde-switch-unchecked-background-colorstringThe background color of the unchecked switchvar(--concorde-neutral-surface)
--concorde-switch-border-radiusstringThe border radius of the switch9999px

Textarea​

Refer to Input tokens.

Toggle Button​

Refer to Button tokens.

Toggle Group​

Refer also to Spacing, Typography & Toggle Button tokens.

CSS VariableExpected TypeDescriptionDefault
--concorde-toggle-button-border-colorstringThe custom border color of the toggle group buttons

Tooltip​

None

Typography​

CSS VariableExpected TypeDescriptionDefault
--concorde-typography-colorstringThe color of the textvar(--concorde-primary-text)

Upload Zone​

CSS VariableExpected TypeDescriptionDefault
--concorde-dropzone-accepted-colorstringThe background color of an accepted drop
--concorde-dropzone-rejected-colorstringThe background color of a rejected dropvar(--concorde-error-color)
--concorde-dropzone-active-background-colorstringThe background color of an active droprgba(var(--concorde-primary-color-rgb), 0.18)