Zum Hauptinhalt springen

Liste der Design-Token

Token​

Design-Token sind die Single Source of Truth, die zum Benennen und Speichern von Designentscheidungen wie Farbe, Typografie, Abstände, Zeilenhöhe und Opazität verwendet wird. Jutro Design System enthält mehr als 1.000 Entscheidungen zu Benutzeroberflächenelementen und Layout. Mithilfe von Design-Token können diese Entscheidungen nachverfolgt werden.

Ebenen von Design-Token​

Drei Ebenen von Design-Token sind verfügbar:

  • Globale Token: Stellen die Optionen dar, auf die Token in anderen Ebenen verweisen. Ein Beispiel sind Markenfarben.
  • Semantische Token: Haben eine semantische Bedeutung. Sie definieren beispielsweise die Farbe von Fehlermeldungen.
  • Komponenten-Token: Sind spezifisch für die Komponenten in Jutro Design System. Ein Beispiel ist ein Token, mit dem die Rahmenfarbe für den aktiven Zustand von sekundären Schaltflächen festgelegt wird.

Die folgenden Tabellen enthalten eine kuratierte Liste der strategischen Design-Token. Diese Liste konzentriert sich hauptsächlich auf die semantische Ebene, damit Sie Themes auf einfachste Weise verstehen und implementieren können. Für alle Token in dieser Untergruppe sind Name und Verwendungsbeschreibung angegeben, damit Sie das für den jeweiligen Fall geeignete Token finden können.

Farbe​

Text​

Token and descriptionIntroduced
jds.color.text.regular
Text color
10.0
jds.color.text.subtle
Subtle text color
10.0
jds.color.text.inverse
Inverse text color
10.0
jds.color.text.brand
Brand color for text
10.0
jds.color.text.brand-hover
Brand color for hover state of text
10.0
jds.color.text.brand-active
Brand color for active state of text
10.0
jds.color.text.brand-accent-1
Brand accent 1 color for text
10.0
jds.color.text.brand-accent-2
Brand accent 2 color for text
10.0
jds.color.text.error
Error color for text
10.0
jds.color.text.information
Information color for text
10.0
jds.color.text.success
Success color for text
10.0
jds.color.text.warning
Warning color for text
10.0
jds.color.text.required
Color for indicating required action, an asterisk by default
10.0
jds.color.text.link.default
Color for link text
10.0
jds.color.text.link.hover
Color for hover state of link text
10.0
jds.color.text.link.active
Color for active state of link text
10.0
jds.color.text.link.visited
Color for visited state of link text
10.3
jds.color.text.link.visited-hover
Color for visited hover state of link text
10.3
jds.color.text.link.visited-active
Color for visited active state of link text
10.3
jds.color.text.link-default-inverse
Color for inverse link text
10.11
jds.color.text.link-inverse-hover
Color for hover state of inverse link text
10.11
jds.color.text.link-inverse-active
Color for active state of inverse link text
10.11

Symbol​

Token and descriptionIntroduced
jds.color.icon.regular
Regular icon color matching regular text color
10.0
jds.color.icon.subtle
Subtle color for icons
10.0
jds.color.icon.inverse
Inverse icon color
10.0
jds.color.icon.error
Error color for icon
10.0
jds.color.icon.information
Information color for icon
10.0
jds.color.icon.success
Success color for icon
10.0
jds.color.icon.warning
Warning color for icon
10.0
jds.color.icon.brand
Brand action color of icon
10.0
jds.color.icon.brand-hover
Brand action color for hover state of icon
10.0
jds.color.icon.brand-active
Brand action color for active state of icon
10.0
jds.color.icon.brand-accent-1
Brand accent 1 color for icon
10.0
jds.color.icon.brand-accent-2
Brand accent 2 color for icon
10.0
jds.color.icon.link-default
Color for link icons
10.11
jds.color.icon.link-hover
Color for hover state of link icons
10.11
jds.color.icon.link-active
Color for active state of link icons
10.11
jds.color.icon.link-default-inverse
Color for inverse link icons
10.11
jds.color.icon.link-default-inverse-hover
Color for hover state of inverse link icons
10.11
jds.color.icon.link-default-inverse-active
Color for active state of inverse link icons
10.11

Hintergrund​

Token and descriptionIntroduced
jds.color.background.zebra
Background color for alternate base layer
10.12
jds.color.background.blockquote
Background color for blockquote
10.11
jds.color.background.neutral
Neutral background color
10.0
jds.color.background.neutral-hover
Neutral background color hover state
10.0
jds.color.background.neutral-active
Neutral background color active state
10.0
jds.color.background.neutral-subtle
Light neutral background color
10.0
jds.color.background.neutral-subtle-hover
Light neutral background color hover state
10.0
jds.color.background.neutral-subtle-active
Light neutral background color active state
10.0
jds.color.background.neutral-inverse
Inverse neutral background color
10.0
jds.color.background.page
Background color for page
10.0
jds.color.background.progress
Background color for progress status
10.3
jds.color.background.track
Background color for track element
10.0
jds.color.background.brand
Brand color for background
10.0
jds.color.background.brand-hover
Brand color for hover state of background
10.0
jds.color.background.brand-active
Brand color for active state of background
10.0
jds.color.background.brand-subtle
Light brand color for background
10.0
jds.color.background.brand-subtle-hover
Light brand color for background hover
10.0
jds.color.background.brand-subtle-active
Light brand color for background active
10.0
jds.color.background.brand-accent-1
Brand accent 1 color for background
10.0
jds.color.background.brand-accent-1-hover
Brand accent 1 color for hover state of background
10.0
jds.color.background.brand-accent-1-active
Brand accent 1 color for active state of background
10.0
jds.color.background.brand-accent-1-subtle
Light brand accent 1 color
10.0
jds.color.background.brand-accent-1-subtle-hover
Light brand accent 1 color hover
10.0
jds.color.background.brand-accent-1-subtle-active
Light brand accent 1 color active
10.0
jds.color.background.brand-accent-2
Brand accent 2 color for background
10.0
jds.color.background.brand-accent-2-hover
Brand accent 2 color for hover state of background
10.0
jds.color.background.brand-accent-2-active
Brand accent 2 color for active state of background
10.0
jds.color.background.brand-accent-2-subtle
Light brand accent 2 color for background
10.0
jds.color.background.brand-accent-2-subtle-hover
Light brand accent 2 color for hover state of background
10.0
jds.color.background.brand-accent-2-subtle-active
Light brand accent 2 color for active state of background
10.0
jds.color.background.error
Background color for error
10.0
jds.color.background.information
Background color for information
10.0
jds.color.background.success
Background color for success
10.0
jds.color.background.warning
Background color for warning
10.0
jds.color.background.error-subtle
Light background color for error
10.0
jds.color.background.information-subtle
Light background color for information
10.0
jds.color.background.success-subtle
Light background color for success
10.0
jds.color.background.warning-subtle
Light background color for warning
10.0
jds.color.background.selected
Background color indicating a selected state
10.0
jds.color.background.selected-hover
Background color indicating a selected hover state
10.0
jds.color.background.selected-active
Background color indicating a selected active state
10.0
jds.color.background.selected-subtle
Light color indicating a selected state
10.0
jds.color.background.selected-subtle-hover
Light color indicating a selected hover state
10.0
jds.color.background.selected-subtle-active
Light color indicating a selected active state
10.0
jds.color.background.input
Background color for inputs
10.0
jds.color.background.input-hover
Background color for hover state of inputs
10.0
jds.color.background.input-active
Background color for active state of inputs
10.0
jds.color.background.input-read-only
Background color for read-only state of inputs
10.0

Rahmen​

Token and descriptionIntroduced
jds.color.border.blockquote
Border color for blockquote
10.11
jds.color.border.regular
Default border color for UI elements - Formerly Border
10.0
jds.color.border.inverse
Inverse border color for UI elements
10.0
jds.color.border.separator
Border color for separator
10.0
jds.color.border.selected
Border color indicating a selected state
10.0
jds.color.border.selected-hover
Border color indicating a selected hover state
10.0
jds.color.border.selected-active
Border color indicating a selected active state
10.0
jds.color.border.input
Border color for inputs
10.11
jds.color.border.brand
Brand color for border
10.0
jds.color.border.brand-hover
Brand color for hover state of border
10.0
jds.color.border.brand-active
Brand color for active state of border
10.0
jds.color.border.brand-accent-1
Brand accent 1 color for border
10.0
jds.color.border.brand-accent-1-hover
Brand accent 1 color for hover state of border
10.0
jds.color.border.brand-accent-1-active
Brand accent 1 color for active state of border
10.0
jds.color.border.brand-accent-2
Brand accent 2 color for border
10.0
jds.color.border.brand-accent-2-hover
Brand accent 2 color for hover state of border
10.0
jds.color.border.brand-accent-2-active
Brand accent 2 color for active state of border
10.0
jds.color.border.focus
Border color used to indicate focus state
10.0
jds.color.border.focus-inverse
Border inverse color used to indicate focus state over a dark background
10.0
jds.color.border.error
Border color for error
10.0
jds.color.border.success
Border color for success
10.0
jds.color.border.information
Border color for information
10.0
jds.color.border.warning
Border color for warning
10.0

Interaktion​

Token and descriptionIntroduced
jds.color.interaction-overlay.hover
Overlay to indicate hover state when a background color cannot change, such as images
10.0
jds.color.interaction-overlay.active
Overlay to indicate active state when a background color cannot change, such as images
10.0

Typografie​

Schriftart​

Token and descriptionIntroduced
jds.font.hero.1
Font properties for hero 1 text
10.11
jds.font.hero.2
Font properties for hero 2 text
10.11
jds.font.hero.3
Font properties for hero 3 text
10.11
jds.font.display
Font properties for display text
10.11
jds.font.heading.1
Font properties for heading level 1
10.11
jds.font.heading.2
Font properties for heading level 2
10.11
jds.font.heading.3
Font properties for heading level 3
10.11
jds.font.heading.4
Font properties for heading level 4
10.11
jds.font.heading.5
Font properties for heading level 5
10.11
jds.font.heading.6
Font properties for heading level 6
10.11
jds.font.body.large
Font properties for large body text
10.11
jds.font.body.medium
Font properties for medium body text
10.11
jds.font.body.small
Font properties for small body text
10.11
jds.font.body.x-small
Font properties for extra-small body text
10.11
jds.font.link.default
Font properties for default link text
10.11
jds.font.link.hover
Font properties for link text hover state
10.11
jds.font.link.active
Font properties for link text active state
10.11
jds.font.link.visited
Font properties for visited link text
10.11
jds.font.eyebrow.1
Font properties for eyebrow 1 text
10.11
jds.font.eyebrow.2
Font properties for eyebrow 2 text
10.11
jds.font.eyebrow.3
Font properties for eyebrow 3 text
10.11
jds.font.label.large
Font properties for large label text
10.11
jds.font.label.large-strong
Font properties for large strong label text
10.11
jds.font.label.large-stronger
Font properties for large stronger label text
10.11
jds.font.label.medium
Font properties for medium label text
10.11
jds.font.label.medium-strong
Font properties for medium strong label text
10.11
jds.font.label.medium-stronger
Font properties for medium stronger label text
10.11
jds.font.label.small
Font properties for small label text
10.11
jds.font.label.small-strong
Font properties for small strong label text
10.11
jds.font.label.small-stronger
Font properties for small stronger label text
10.11
jds.font.label.x-small
Font properties for extra-small label text
10.11
jds.font.label.x-small-stronger
Font properties for extra-small stronger label text
10.11
jds.font.label.x-small-strong
Font properties for extra-small strong label text
10.11
jds.font.blockquote.large
Font properties for large blockquote text
10.11
jds.font.blockquote.medium
Font properties for medium blockquote text
10.11
jds.font.blockquote.small
Font properties for small blockquote text
10.11
jds.font.blockquote.x-small
Font properties for extra-small blockquote text
10.11
jds.font.figure-caption.large
Font properties for large figure caption text
10.11
jds.font.figure-caption.medium
Font properties for medium figure caption text
10.11
jds.font.figure-caption.small
Font properties for small figure caption text
10.11
jds.font.figure-caption.x-small
Font properties for extra-small figure caption text
10.11
jds.font.code.large
Font properties for large code text
10.11
jds.font.code.medium
Font properties for medium code text
10.11
jds.font.code.small
Font properties for small code text
10.11
jds.font.code.x-small
Font properties for extra-small code text
10.11

Schriftfamilie​

Token and descriptionIntroduced
jds.font-family.heading
Font family for heading text
10.11
jds.font-family.label
Font family for label text
10.11
jds.font-family.body
Font family for body text
10.11
jds.font-family.monospace
Font family for monospace/code text
10.11
jds.font-family.blockquote
Font family for blockquote
10.11
jds.font-family.figure-caption
Font family for figure caption
10.11

Zeilenhöhe​

Token and descriptionIntroduced
jds.line-height.heading
Line height for heading text
10.11
jds.line-height.label
Line height for label text
10.11
jds.line-height.body
Line height for body text
10.11
jds.line-height.monospace
Line height for monospace/code text
10.11
jds.line-height.blockquote
Line height for blockquote text
10.11
jds.line-height.figure-caption
Line height for figure caption text
10.11

Erhöhung​

Oberfläche​

Token and descriptionIntroduced
jds.elevation.surface
Primary background for the UI
10.0
jds.elevation.surface-hover
Primary background hover state for the UI
10.0
jds.elevation.surface-active
Primary background active state for the UI
10.0
jds.elevation.surface-recessed
Secondary background for the UI often used for grouping items
10.0
jds.elevation.surface-raised
Primary background for cards that can be moved
10.0
jds.elevation.surface-raised-hover
Primary background hover state for cards that can be moved
10.0
jds.elevation.surface-raised-active
Primary background active state for cards that can be moved
10.0
jds.elevation.surface-overlay
Background for elements positioned above the UI such as modals, dropdown menus, and dialogs, as well as the background for cards that are in a dragged state
10.0
jds.elevation.surface-overlay-hover
Background hover state for elements positioned above the UI such as modals, dropdown menus, and dialogs, as well as the background for cards that are in a dragged state
10.0
jds.elevation.surface-overlay-active
Background active state for elements positioned above the UI such as modals, dropdown menus, and dialogs, as well as the background for cards that are in a dragged state
10.0

Schatten​

Token and descriptionIntroduced
jds.elevation.shadow.low
Shadow for lowest level
10.0
jds.elevation.shadow.raised
Default shadow used for most components
10.0
jds.elevation.shadow.overlay
Shadow for highest level
10.0
jds.elevation.shadow.overflow
Shadow used when content scrolls underneath a surface
10.0
jds.elevation.shadow.inset
Inset shadow
10.0
jds.elevation.shadow.none
Used to remove an existing shadow.
10.11
jds.focus.shadow.regular
Shadow for focus state on standard elements
10.10
jds.focus.shadow.inverse
Shadow for focus state on inverse elements
10.10
jds.focus.shadow.error
Shadow for focus state on elements with an error
10.10
jds.focus.shadow.error-inverse
Shadow for focus state on inverse elements with an error
10.10
jds.utility.color.shadow.focus.regular
Utility color for regular focus shadow
10.10
jds.utility.color.shadow.focus.inverse
Utility color for inverse focus shadow
10.10
jds.utility.color.shadow.focus.error
Utility color for error focus shadow
10.10
jds.utility.color.shadow.focus.error-inverse
Utility color for inverse error focus shadow
10.10

Opazität​

Token and descriptionIntroduced
jds.opacity.disabled
Opacity for disabled state
10.0

Fläche​

Design-Token für Abstände werden nach dem Prozentsatz der Basisrastereinheit benannt, der standardmäßig 8 Pixel beträgt. Das Design-Token jds.space.x150 enthält beispielsweise den Wert 12 Pixel (1,50 multipliziert mit der Basisrastereinheit von 8 Pixeln).

Token and descriptionIntroduced
jds.padding.blockquote
Padding for blockquote
10.11
jds.space.x0
Space for resetting default spacing styles
10.11
jds.space.x025
Spacing used for small and compact elements of UI
10.11
jds.space.x050
Spacing used for small and compact elements of UI
10.11
jds.space.x075
Spacing used for small and compact elements of UI
10.11
jds.space.x100
Spacing used for small and compact elements of UI
10.11
jds.space.x125
Spacing used for small and compact elements of UI
10.11
jds.space.x150
Spacing used for larger and less dense elements of UI
10.11
jds.space.x200
Spacing used for larger and less dense elements of UI
10.11
jds.space.x250
Spacing used for larger and less dense elements of UI
10.11
jds.space.x300
Spacing used for larger and less dense elements of UI
10.11
jds.space.x400
Spacing used for the largest elements of UI and for layout elements
10.11
jds.space.x450
Spacing used for the largest elements of UI and for layout elements
10.11
jds.space.x500
Spacing used for the largest elements of UI and for layout elements
10.11
jds.space.x600
Spacing used for the largest elements of UI and for layout elements
10.11
jds.space.x800
Spacing used for the largest elements of UI and for layout elements
10.11
jds.space.x1000
Spacing used for the largest elements of UI and for layout elements
10.11
jds.space.x1200
Spacing used for the largest elements of UI and for layout elements
10.11
jds.space.negative.x0125
Use to negate parent whitespace or overlap small pieces of UI
10.11

Größe​

Design-Token für die Größe werden nach dem Prozentsatz der Basisrastereinheit benannt, der standardmäßig 8 Pixel beträgt. Das Design-Token jds.size.x025 enthält beispielsweise den Wert 2 Pixel (0,25 multipliziert mit der Basisrastereinheit von 8 Pixeln).

Token and descriptionIntroduced
jds.size.input-height
Default height for input components
10.11
jds.size.x0
Space for resetting default sizing styles
10.11
jds.size.x0125
Size used for small and compact elements of UI
10.11
jds.size.x025
Size used for small and compact elements of UI
10.11
jds.size.x050
Size used for small and compact elements of UI
10.11
jds.size.x100
Size used for small and compact elements of UI
10.11
jds.size.x150
Size used for small and compact elements of UI
10.11
jds.size.x175
Size used for small and compact elements of UI
10.11
jds.size.x200
Size used for small and compact elements of UI
10.11
jds.size.x250
Size used for small and compact elements of UI
10.11
jds.size.x300
Size used for small and compact elements of UI
10.11
jds.size.x350
Size used for small and compact elements of UI
10.11
jds.size.x400
Size used for small and compact elements of UI
10.11
jds.size.x450
Size used for small and compact elements of UI
10.11
jds.size.x500
Size used for larger elements of UI
10.11
jds.size.x600
Size used for larger elements of UI
10.11
jds.size.x700
Size used for larger elements of UI
10.11
jds.size.x800
Size used for larger elements of UI
10.11
jds.size.x1000
Size used for larger elements of UI
10.11

Rahmenradius​

Token and descriptionIntroduced
jds.border-radius.blockquote
Border radius for blockquote
10.11
jds.border-radius.regular
Border radius used by default across the UI
10.0
jds.border-radius.round
Border radius for fully rounded
10.0

Rahmenbreite​

Token and descriptionIntroduced
jds.border-width.regular
Regular border width
10.0
jds.border-width.thick
Thick border width
10.0

Andere Blockquote-Eigenschaften​

Token and descriptionIntroduced
jds.border.blockquote.top
Top border for blockquote
10.11
jds.border.blockquote.right
Right border for blockquote
10.11
jds.border.blockquote.bottom
Bottom border for blockquote
10.11
jds.border.blockquote.left
Left border for blockquote
10.11