Specimen

The whole system on one page, to compare it with the original: every token with its value in each context, and every component in every combination of its variants, enumerated properties and interaction states, in each context the tokens vary by. Previews are computed from the reference semantics.

Tokens

TokenTypeValueDescription
button.border dimension
  • 1px
button.gap dimension
  • 8px
Icon-label gap, A11 `$aui-button-icon-margin: 8` (_button.scss:3, 252).
button.height dimension
  • 51px
Height of the A11 box, derived: 13 + 24 + 12 plus a 1 px border on each side = 51.
button.icon dimension
  • 24px
A11 small icon size `$aui-icon-size-small: 24px` (_variables.scss:62); the icon-and-label button snippets use small icons (button/snippets/button-primary-with-icon.html). Equals one label line.
button.min-width dimension
  • 144px
Primary and secondary: nine times the base type size (A5), 144 at the 16 px base.
button.min-width-text dimension
  • 0px
Text button: no minimum width; A5 defines one for primary and secondary buttons only.
button.padding-bottom dimension
  • 12px
A11 `em(12, 15)` (_button.scss:13).
button.padding-inline dimension
  • 32px
Primary and secondary: A11 `em(32, 15)` (_button.scss:63-68).
button.padding-inline-text dimension
  • 0px
Text button: no horizontal padding, A11 `padding: em(13) 0 em(12)` (_button.scss:13); the 32 px of _button.scss:63-68 apply to primary, secondary and padded buttons only.
button.padding-top dimension
  • 13px
A11 `em(13, 15)` (_button.scss:13).
checkbox.border dimension
  • 1px
A11 _checkbox.scss:37.
checkbox.box dimension
  • 24px
1.5em (A11 _checkbox.scss:1, 35-36).
checkbox.gap dimension
  • 16px
Box-label gap, 1em (A11 _checkbox.scss:3, 21).
checkbox.tick dimension
  • 12px
0.75em (A11 _checkbox.scss:2, 53-54).
color.checkbox.border color
  • theme = light #00000080
  • theme = dark #ffffff80
A11 _checkbox.scss:6, 37.
color.checkbox.border-hover color
  • theme = light #000000
  • theme = dark #ffffff
A11 _checkbox.scss:7, 109-115.
color.checkbox.label color
  • theme = light #333333
  • theme = dark #f2f2f2
A11 _checkbox.scss:4, 16.
color.checkbox.label-hover color
  • theme = light #000000
  • theme = dark #ffffff
A11 _checkbox.scss:5, 109-110.
color.checkbox.tick color
  • theme = light #333333
  • theme = dark #f2f2f2
The tick takes the resting label colour, A11 _checkbox.scss:9, 56.
color.focus color
  • theme = light #0000001a
  • theme = dark #ffffff33
Focus glow colour, A11 `shadow-focus` (_mixins.scss:81-83).
color.on-surface color
  • theme = light #000000
  • theme = dark #ffffff
A4: typography in black or white.
color.primary.background color
  • theme = light #000000
  • theme = dark #ffffff
A11 _button.scss:11, 110-115.
color.primary.background-hover color
  • theme = light #333333
  • theme = dark #e5e5e5
Hover and press, A11 _button.scss:12, 86-91.
color.primary.foreground color
  • theme = light #ffffff
  • theme = dark #000000
A11 _button.scss:8, 93-101.
color.primary.foreground-disabled color
  • theme = light #ffffff80
  • theme = dark #00000080
Disabled label, under the disabled opacity: A11 _button.scss:103-108.
color.secondary.border color
  • theme = light #000000
  • theme = dark #ffffff
A11 _button.scss:9, 125-129.
color.secondary.border-hover color
  • theme = light #808080
  • theme = dark #cccccc
Hover and press, A11 _button.scss:10, 118-123.
color.secondary.foreground color
  • theme = light #000000
  • theme = dark #ffffff
A11 _button.scss:6, 43-51.
color.secondary.foreground-hover color
  • theme = light #4c4c4c
  • theme = dark #e5e5e5
Hover and press, A11 _button.scss:7, 15-23.
color.signal.negative color
  • theme = light #eb0d3f
  • theme = dark #fd2c4e
color.signal.positive color
  • theme = light #0da20d
  • theme = dark #15da15
color.signal.warning color
  • #ffaa00
color.surface color
  • theme = light #ffffff
  • theme = dark #000000
A1: black and dark components are placed on white.
font.family fontFamily
  • Audi Type Wide, Verdana, sans-serif
Names only, nothing bundled. Buttons, text buttons and interactive text elements use Audi Type Wide (A4; A5: button labels in "Audi Type Wide Normal"); Verdana is the fallback (A4); `sans-serif` ends the A11 stack (_variables.scss:50).
font.line-height.control dimension
  • 24px
Button line height, A11 `unit(6)` = 6 x 4 px (_button.scss:34, _variables.scss:2).
font.size.base dimension
  • 16px
Base type size on the smallest viewport (A1, A5); also the A11 root and checkbox size (typography/_typography.scss:2, _variables.scss:12). The 18 and 20 px steps need viewport breakpoints that A1 does not give.
font.size.base-large dimension
  • 20px
Base type size, large viewport (A1).
font.size.base-medium dimension
  • 18px
Base type size, medium viewport (A1).
font.size.control dimension
  • 15px
Button font size, A11 `$aui-button-font-size: 15` (_button.scss:1, 32) at the 16 px root.
font.weight.normal fontWeight
  • 400
A11 `$aui-font-weight-normal` (_variables.scss:53), set on the button (_button.scss:33) and the checkbox (_checkbox.scss:14); A5 names the button weight "Normal".
motion.duration.button duration
  • 300ms
Button transition, A11 `all 0.3s` (_button.scss:39).
motion.duration.checkbox duration
  • 150ms
Checkbox box transition, A11 `.15s` (_checkbox.scss:38).
motion.duration.instant duration
  • 0ms
Choice: reduced motion keeps the end state without animation.
motion.easing cubicBezier
  • cubic-bezier(0.75, 0.02, 0.5, 1)
Brand easing curve (A3; also A11 `$aui-easing`, _variables.scss:17).
motion.easing-linear cubicBezier
  • cubic-bezier(0, 0, 1, 1)
CSS `linear`, the checkbox box easing of A11 (_checkbox.scss:38), written as the equivalent cubic Bezier.
motion.transition.button transition
  • 300ms cubic-bezier(0.75, 0.02, 0.5, 1) 0ms
A11 `transition: all 0.3s $aui-easing` (_button.scss:39).
motion.transition.checkbox transition
  • 150ms cubic-bezier(0, 0, 1, 1) 0ms
A11 `box-shadow .15s linear, border .15s linear` (_checkbox.scss:38).
motion.transition.instant transition
  • 0ms cubic-bezier(0.75, 0.02, 0.5, 1) 0ms
Choice: reduced motion.
opacity.disabled number
  • 0.3
Disabled button (A11 _button.scss:56) and checkbox (`$aui-field-disabled-opacity`, _variables.scss:97, _checkbox.scss:124).
palette.black color
  • #000000
palette.grey-10 color
  • #e5e5e5
palette.grey-15 color
  • #d9d9d9
palette.grey-20 color
  • #cccccc
palette.grey-30 color
  • #b3b3b3
30 % black (A2).
palette.grey-40 color
  • #999999
palette.grey-5 color
  • #f2f2f2
5 % black (A2).
palette.grey-50 color
  • #808080
palette.grey-60 color
  • #666666
palette.grey-70 color
  • #4c4c4c
palette.grey-80 color
  • #333333
palette.grey-90 color
  • #1a1a1a
90 % black (A2).
palette.progressive-red color
  • #f50537
Brand colour only (A2): not used in UI components, so no component references it.
palette.signal.green-dark color
  • #15da15
palette.signal.green-light color
  • #0da20d
palette.signal.red-dark color
  • #fd2c4e
palette.signal.red-light color
  • #eb0d3f
palette.signal.yellow-dark color
  • #ffaa00
palette.signal.yellow-light color
  • #ffaa00
palette.transparent color
  • rgb(0 0 0 / 0)
Not an Audi colour: CSS `transparent` (rgba(0, 0, 0, 0)), the button fill and border colour of A11 (_button.scss:49-50).
palette.white color
  • #ffffff
radius.none dimension
  • 0px
Square corners: A11 sets no radius on the button (except `--round`) or the checkbox.
shadow.focus shadow
  • theme = light 0px 0px 3px 3px #0000001a
  • theme = dark 0px 0px 3px 3px #ffffff33
Focus glow 0 0 3px 3px, A11 `shadow-focus` (_mixins.scss:81-83).
shadow.none shadow
shadow.surface shadow
  • 0px 0px 2px 0px rgb(0 0 0 / 0.05), 0px 0px 40px 0px rgb(0 0 0 / 0.05)
UI shadow (A1).
space.button-group dimension
  • 4px
Gap between grouped buttons: 0.25 rem (A5; also A11 `unit()`, _button-group.scss:2), computed at the 16 px root because the generators do not support rem tokens.
space.page-margin.l dimension
  • 60px
space.page-margin.m dimension
  • 40px
space.page-margin.s dimension
  • 28px
space.page-margin.xl dimension
  • 96px
space.page-margin.xs dimension
  • 16px
stroke.thin dimension
  • 1px
Button and checkbox border width, A11 (_button.scss:49, _checkbox.scss:37).
type.checkbox-label typography
  • 400 16px/1.5 Audi Type Wide, Verdana, sans-serif; letter-spacing 0px
Checkbox label: weight 400 and line height 1.5 (A11 _checkbox.scss:14-15, _variables.scss:94) at the inherited 16 px size, so the 24 px line equals the box. Letter spacing 0 is a choice, as for the button.
type.control typography
  • 400 15px/1.6 Audi Type Wide, Verdana, sans-serif; letter-spacing 0px
Button label: 15 px on a 24 px line, weight 400 (A11). The line height is computed, never restated. A11 sets no letter spacing (CSS `normal`); 0 is a choice.

Components

Button

Primary, secondary or text action with an optional leading icon.

Placeholder values for required properties: label = "Label"

appearance = "primary" · disabled = false

Label
theme = "light"
Label
theme = "dark"

appearance = "primary" · disabled = false · hovered

Label
theme = "light"
Label
theme = "dark"

appearance = "primary" · disabled = false · pressed

Label
theme = "light"
Label
theme = "dark"

appearance = "primary" · disabled = false · focus_visible

Label
theme = "light"
Label
theme = "dark"

appearance = "primary" · disabled = true

Label
theme = "light"
Label
theme = "dark"

appearance = "primary" · disabled = true · hovered

Label
theme = "light"
Label
theme = "dark"

appearance = "primary" · disabled = true · pressed

Label
theme = "light"
Label
theme = "dark"

appearance = "primary" · disabled = true · focus_visible

Label
theme = "light"
Label
theme = "dark"

appearance = "secondary" · disabled = false

Label
theme = "light"
Label
theme = "dark"

appearance = "secondary" · disabled = false · hovered

Label
theme = "light"
Label
theme = "dark"

appearance = "secondary" · disabled = false · pressed

Label
theme = "light"
Label
theme = "dark"

appearance = "secondary" · disabled = false · focus_visible

Label
theme = "light"
Label
theme = "dark"

appearance = "secondary" · disabled = true

Label
theme = "light"
Label
theme = "dark"

appearance = "secondary" · disabled = true · hovered

Label
theme = "light"
Label
theme = "dark"

appearance = "secondary" · disabled = true · pressed

Label
theme = "light"
Label
theme = "dark"

appearance = "secondary" · disabled = true · focus_visible

Label
theme = "light"
Label
theme = "dark"

appearance = "text" · disabled = false

Label
theme = "light"
Label
theme = "dark"

appearance = "text" · disabled = false · hovered

Label
theme = "light"
Label
theme = "dark"

appearance = "text" · disabled = false · pressed

Label
theme = "light"
Label
theme = "dark"

appearance = "text" · disabled = false · focus_visible

Label
theme = "light"
Label
theme = "dark"

appearance = "text" · disabled = true

Label
theme = "light"
Label
theme = "dark"

appearance = "text" · disabled = true · hovered

Label
theme = "light"
Label
theme = "dark"

appearance = "text" · disabled = true · pressed

Label
theme = "light"
Label
theme = "dark"

appearance = "text" · disabled = true · focus_visible

Label
theme = "light"
Label
theme = "dark"

Checkbox

Tri-state checkbox (unchecked, checked, mixed) with a controlled value.

Placeholder values for required properties: label = "Label", checked = "unchecked"

checked = "unchecked" · disabled = false · invalid = false

Label
theme = "light"
Label
theme = "dark"

checked = "unchecked" · disabled = false · invalid = false · hovered

Label
theme = "light"
Label
theme = "dark"

checked = "unchecked" · disabled = false · invalid = false · pressed

Label
theme = "light"
Label
theme = "dark"

checked = "unchecked" · disabled = false · invalid = false · focus_visible

Label
theme = "light"
Label
theme = "dark"

checked = "unchecked" · disabled = false · invalid = true

Label
theme = "light"
Label
theme = "dark"

checked = "unchecked" · disabled = false · invalid = true · hovered

Label
theme = "light"
Label
theme = "dark"

checked = "unchecked" · disabled = false · invalid = true · pressed

Label
theme = "light"
Label
theme = "dark"

checked = "unchecked" · disabled = false · invalid = true · focus_visible

Label
theme = "light"
Label
theme = "dark"

checked = "unchecked" · disabled = true · invalid = false

Label
theme = "light"
Label
theme = "dark"

checked = "unchecked" · disabled = true · invalid = false · hovered

Label
theme = "light"
Label
theme = "dark"

checked = "unchecked" · disabled = true · invalid = false · pressed

Label
theme = "light"
Label
theme = "dark"

checked = "unchecked" · disabled = true · invalid = false · focus_visible

Label
theme = "light"
Label
theme = "dark"

checked = "unchecked" · disabled = true · invalid = true

Label
theme = "light"
Label
theme = "dark"

checked = "unchecked" · disabled = true · invalid = true · hovered

Label
theme = "light"
Label
theme = "dark"

checked = "unchecked" · disabled = true · invalid = true · pressed

Label
theme = "light"
Label
theme = "dark"

checked = "unchecked" · disabled = true · invalid = true · focus_visible

Label
theme = "light"
Label
theme = "dark"

checked = "checked" · disabled = false · invalid = false

Label
theme = "light"
Label
theme = "dark"

checked = "checked" · disabled = false · invalid = false · hovered

Label
theme = "light"
Label
theme = "dark"

checked = "checked" · disabled = false · invalid = false · pressed

Label
theme = "light"
Label
theme = "dark"

checked = "checked" · disabled = false · invalid = false · focus_visible

Label
theme = "light"
Label
theme = "dark"

checked = "checked" · disabled = false · invalid = true

Label
theme = "light"
Label
theme = "dark"

checked = "checked" · disabled = false · invalid = true · hovered

Label
theme = "light"
Label
theme = "dark"

checked = "checked" · disabled = false · invalid = true · pressed

Label
theme = "light"
Label
theme = "dark"

checked = "checked" · disabled = false · invalid = true · focus_visible

Label
theme = "light"
Label
theme = "dark"

checked = "checked" · disabled = true · invalid = false

Label
theme = "light"
Label
theme = "dark"

checked = "checked" · disabled = true · invalid = false · hovered

Label
theme = "light"
Label
theme = "dark"

checked = "checked" · disabled = true · invalid = false · pressed

Label
theme = "light"
Label
theme = "dark"

checked = "checked" · disabled = true · invalid = false · focus_visible

Label
theme = "light"
Label
theme = "dark"

checked = "checked" · disabled = true · invalid = true

Label
theme = "light"
Label
theme = "dark"

checked = "checked" · disabled = true · invalid = true · hovered

Label
theme = "light"
Label
theme = "dark"

checked = "checked" · disabled = true · invalid = true · pressed

Label
theme = "light"
Label
theme = "dark"

checked = "checked" · disabled = true · invalid = true · focus_visible

Label
theme = "light"
Label
theme = "dark"

checked = "mixed" · disabled = false · invalid = false

Label
theme = "light"
Label
theme = "dark"

checked = "mixed" · disabled = false · invalid = false · hovered

Label
theme = "light"
Label
theme = "dark"

checked = "mixed" · disabled = false · invalid = false · pressed

Label
theme = "light"
Label
theme = "dark"

checked = "mixed" · disabled = false · invalid = false · focus_visible

Label
theme = "light"
Label
theme = "dark"

checked = "mixed" · disabled = false · invalid = true

Label
theme = "light"
Label
theme = "dark"

checked = "mixed" · disabled = false · invalid = true · hovered

Label
theme = "light"
Label
theme = "dark"

checked = "mixed" · disabled = false · invalid = true · pressed

Label
theme = "light"
Label
theme = "dark"

checked = "mixed" · disabled = false · invalid = true · focus_visible

Label
theme = "light"
Label
theme = "dark"

checked = "mixed" · disabled = true · invalid = false

Label
theme = "light"
Label
theme = "dark"

checked = "mixed" · disabled = true · invalid = false · hovered

Label
theme = "light"
Label
theme = "dark"

checked = "mixed" · disabled = true · invalid = false · pressed

Label
theme = "light"
Label
theme = "dark"

checked = "mixed" · disabled = true · invalid = false · focus_visible

Label
theme = "light"
Label
theme = "dark"

checked = "mixed" · disabled = true · invalid = true

Label
theme = "light"
Label
theme = "dark"

checked = "mixed" · disabled = true · invalid = true · hovered

Label
theme = "light"
Label
theme = "dark"

checked = "mixed" · disabled = true · invalid = true · pressed

Label
theme = "light"
Label
theme = "dark"

checked = "mixed" · disabled = true · invalid = true · focus_visible

Label
theme = "light"
Label
theme = "dark"

Consent checkbox with back and continue actions.

default

I accept the terms of use
Back
Continue
theme = "light"
I accept the terms of use
Back
Continue
theme = "dark"

Icons