We need to decide whether we want to approach links as components or as a reusable style: Initial discussions seem to indicate that instead of components, links should actually be a set of classes derived from a mixin. This is an initial theoretical approach. In case this direction is taken, an ADR would be required.
Criteria to keep in mind when selecting an approach:
- In case the link is expressed as a set of classes: how would icons be included, positioned and spaced correctly in relation to the link text? (see specs)
- In both cases: how can we make it possible for links to inherit styles from the surrounding text in case they are embedded? For example: Links might have a default 16px font, but that size should be overridden in case they are included in the middle of a paragraph made out of 14px sized text.
Timebox to 1 day