Actions
Link
Underlined text that takes people to another place, used inside sentences and for quiet references in supporting text.
In kanso-ui as Link
Anatomy
- Text: the words that say where it goes.
- Underline: 1px, 3px below the text.
- Focus ring, for the keyboard.
Measurements
From the design’s stylesheet, each design token with the value kanso-ui gives it in light.
| Class | Property | Value |
|---|---|---|
k-link | border-radius | 2px |
Tokens used
| Design token | In kanso-ui | Light | Dark |
|---|---|---|---|
accent | --kui-color-accent | #1a1a1a | #ececec |
accent-on-ink | --kui-color-accent-on-ink | #fafafa | #121212 |
ink | --kui-color-ink | #1a1a1a | #ececec |
ink-muted | --kui-color-ink-muted | #5c5c5c | #b3b3b3 |
focus-ring | --kui-color-focus-ring | #1a1a1a | #ececec |