Anatomy

  1. Shape: circle, pill, diamond or square. The shape is the type.
  2. Fill: filled ink, outlined, caution or accent. The fill is the state.
  3. Label: the type and the state in words, in k-status or in the row's meta line.

Measurements

From the design’s stylesheet, each design token with the value kanso-ui gives it in light.

ClassPropertyValue
k-mark--circlewidth10px
height10px
border-radius50%
k-mark--pillwidth14px
height8px
border-radius4px
k-mark--diamondwidth8px
height8px
border-radius1.5px
k-mark--squarewidth9px
height9px
border-radius2.5px

Tokens used

Design tokenIn kanso-uiLightDark
ink--kui-color-ink#1a1a1a#ececec
caution--kui-color-caution#b25b00#ffb870
accent--kui-color-accent#1a1a1a#ececec
ink-muted--kui-color-ink-muted#5c5c5c#b3b3b3
space-sm--kui-spacing-kanso-sm8px8px
font-plain--kui-typography-font-family-plain'Roboto Flex', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif'Roboto Flex', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif
font-mono--kui-typography-font-family-mono'Roboto Mono', ui-monospace, 'SF Mono', Menlo, monospace'Roboto Mono', ui-monospace, 'SF Mono', Menlo, monospace