Colours · Components

Slot-level overrides per component

Component tokens narrow semantic colours down to specific slots — button-primary-default-background, alert-error-stroke, tooltip-heading. They give every component a stable contract even as the underlying palette evolves.

Button

29 tokens
--button-primary-default-background
--button-primary-pressed-background
--button-primary-hover-background
--button-primary-text
--button-primary-icon
--button-primary-outline-default-background
--button-primary-outline-pressed-background
--button-primary-outline-hover-background
--button-primary-outline-border
--button-primary-outline-text
--button-primary-outline-icon
--button-secondary-default-background
--button-secondary-pressed-background
--button-secondary-hover-background
--button-secondary-text
--button-secondary-icon
--button-ghost-default-background
--button-ghost-pressed-background
--button-ghost-hover-background
--button-ghost-text
--button-ghost-icon
--button-error-default-background
--button-error-pressed-background
--button-error-hover-background
--button-error-text
--button-error-icon
--button-disabled-background
--button-disabled-text
--button-disabled-icon

Alert

19 tokens
--alert-default-trailing-icon
--alert-default-leading-icon
--alert-default-background
--alert-default-stroke
--alert-label-text
--alert-body
--alert-cta
--alert-success-trailing-icon
--alert-success-leading-icon
--alert-success-background
--alert-success-stroke
--alert-error-trailing-icon
--alert-error-leading-icon
--alert-error-background
--alert-error-stroke
--alert-warning-trailing-icon
--alert-warning-leading-icon
--alert-warning-background
--alert-warning-stroke

Checkbox

6 tokens
--checkbox-text-label-text
--checkbox-text-subtext
--checkbox-disabled-background
--checkbox-disabled-stroke-icon
--checkbox-active-background
--checkbox-active-stroke-icon

Radio

5 tokens
--radio-text-label-text
--radio-disabled-background
--radio-disabled-stroke-icon
--radio-active-background
--radio-active-stroke-icon

Badge

52 tokens
--badge-light-default-background
--badge-light-default-stroke
--badge-light-default-number-icon-bg
--badge-light-default-number-icon-text
--badge-light-success-background
--badge-light-success-stroke
--badge-light-success-number-icon-bg
--badge-light-success-number-icon-text
--badge-light-error-background
--badge-light-error-stroke
--badge-light-error-number-icon-bg
--badge-light-error-number-icon-text
--badge-light-warning-background
--badge-light-warning-stroke
--badge-light-warning-number-icon-bg
--badge-light-warning-number-icon-text
--badge-light-info-background
--badge-light-info-stroke
--badge-light-info-number-icon-bg
--badge-light-info-number-icon-text
--badge-leading-icon-black
--badge-leading-icon-white
--badge-leading-icon-static-black
--badge-leading-icon-static-white
--badge-trailing-icon-black
--badge-trailing-icon-white
--badge-trailing-icon-static-black
--badge-trailing-icon-static-white
--badge-text-black
--badge-text-white
--badge-text-static-black
--badge-text-static-white
--badge-heavy-default-background
--badge-heavy-default-stroke
--badge-heavy-default-number-icon-bg
--badge-heavy-default-number-icon-text
--badge-heavy-success-background
--badge-heavy-success-stroke
--badge-heavy-success-number-icon-bg
--badge-heavy-success-number-icon-text
--badge-heavy-error-background
--badge-heavy-error-stroke
--badge-heavy-error-number-icon-bg
--badge-heavy-error-number-icon-text
--badge-heavy-warning-background
--badge-heavy-warning-stroke
--badge-heavy-warning-number-icon-bg
--badge-heavy-warning-number-icon-text
--badge-heavy-info-background
--badge-heavy-info-stroke
--badge-heavy-info-number-icon-bg
--badge-heavy-info-number-icon-text

Toggle

6 tokens
--toggle-track-bg-on
--toggle-track-bg-default
--toggle-track-bg-disabled
--toggle-circle-bg-active
--toggle-circle-bg-dsabled
--toggle-label-text

Tooltip

4 tokens
--tooltip-trailing-icon
--tooltip-heading
--tooltip-subtext
--tooltip-background

EmptyStateCard

4 tokens
--empty-state-cards-label-text
--empty-state-cards-subtext
--empty-state-cards-backgroung
--empty-state-cards-stroke

Tabs

4 tokens
--tabs-active-text
--tabs-default-text
--tabs-active-signifier
--tabs-underline

Switches

4 tokens
--switches-active-text
--switches-active-tab-bg
--switches-default-text
--switches-track-bg

Avatar

8 tokens
--avataar-background
--avataar-stroke
--avataar-icon-or-text
--avataar-notifier-bg-busy
--avataar-notifier-bg-online
--avataar-notifier-bg-away
--avataar-notifier-bg-offline
--avataar-notifier-stroke

TitleBar

10 tokens
--title-bar-on-dark-surface-leading-icon
--title-bar-on-dark-surface-lable-text
--title-bar-on-dark-surface-subtext
--title-bar-on-dark-surface-trailing-icon
--title-bar-on-dark-surface-background
--title-bar-on-light-surface-leading-icon
--title-bar-on-light-surface-lable-text
--title-bar-on-light-surface-subtext
--title-bar-on-light-surface-trailing-icon
--title-bar-on-light-surface-background

InputField

15 tokens
--input-fields-default-background
--input-fields-disabled-background
--input-fields-label
--input-fields-default-stroke
--input-fields-focused-stroke
--input-fields-error-stroke
--input-fields-helper-text-error
--input-fields-default-body-text
--input-fields-active-body-text
--input-fields-helper-text
--input-fields-active-trailing-icon
--input-fields-active-leading-icon
--input-fields-disabled-trailing-icon
--input-fields-disabled-leading-icon
--input-fields-cursor-indicator