Links

A link is a reference for the user that can lead directly to an external or internal destination by clicking or tapping on it.


Overall styling#

  • The text style depends on the body text and is either small, small bold, basic, basic bold, large or large bold.
  • The appearance of the state depends on the usage or context.
  • There’s also a positive and negative version to layout on a light or dark background.
  • The icon can only be placed before, not after the link.
  • Icons are always displayed like in the font color.

Positive version#

  • Use the positive version if you want to display a link on a light background.
  • Always make sure you have enough contrast when choosing the background.
StateAttributesPreview
 Default / visited text-color: brand-primary-base
text-decoration: underline
positive: default/visited

Negative version#

  • Use the negative version if you want to display a link on a dark background.
  • Always make sure you have enough contrast when choosing the background.
StateAttributesPreview
 Default / visited text-color: basic-white
text-decoration: underline
negative: default/visited

Text styles#

Text styleFont sizePreview
Small12px small
Small bold12px small
Basic14px basic
Basic bold14px basic
Large16px large
Large bold16px large

Spacing & measurements#

TypeAttributesPreview
Vertical spacing 8px between icon and labelspacing: small
spacing: basic
spacing: large
 Icon sizesmall: 16x16px
basic: 24x24px
large: 32x32px 
icon: small
icon: basic
icon: large

Our workflow in Sketch#

  • Take one of the text styles for the different font sizes to display a linked text.
  • Then the text style is manually adjusted to the status.
  • Detach the text style if you want to show a link in a copy-text.

Change log#

1.1.0 Mail - 2021-07-22#

Changed#

  • Doc: "Link" | Clean up the documentation for the right structure and sentence case

1.0.0 Mail - 2021-06-24#

Highlights#

  • Sketch: "Link" | New positive and negative link text-styles

Changed#

  • Doc: "Link" | Updated documentation