Status
Status mark
A status mark is a small shape before a label that shows what kind of thing a row is and what state it is in, so a column of rows reads at a glance.
Designed, coming to kanso-ui
Anatomy
- Shape: circle, pill, diamond or square. The shape is the type.
- Fill: filled ink, outlined, caution or accent. The fill is the state.
- Label: the type and the state in words, in
k-statusor in the row's meta line.
Measurements
From the design’s stylesheet, each design token with the value kanso-ui gives it in light.
| Class | Property | Value |
|---|---|---|
k-mark--circle | width | 10px |
height | 10px | |
border-radius | 50% | |
k-mark--pill | width | 14px |
height | 8px | |
border-radius | 4px | |
k-mark--diamond | width | 8px |
height | 8px | |
border-radius | 1.5px | |
k-mark--square | width | 9px |
height | 9px | |
border-radius | 2.5px |
Tokens used
| Design token | In kanso-ui | Light | Dark |
|---|---|---|---|
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-sm | 8px | 8px |
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 |