Align behaviour of textual content #727
Labels
design-system-alignment
This issue is meant to align our code to the design system.
enhancement
New feature or request
Milestone
In the design system there is a non-documented distinction of elements such as links, paragraphs, headers, etc. used in the context of an article or 'textual content'.
For example, a link used on an article page has a font-size of 18px, line-height of 22px and when visited is coloured purple. However outside of this context the link should always have a font-size of 16px, a line-height of 20px and does not change colour.
Right now all these elements act as textual content, this will have to be changed so that all components act like they are not in an article by default and only revert to the textual content behaviour when used inside a
TextualContentThemeProvider
. This change will also mean that we will no longer support theCompactThemeProvider
as it will become the default behaviour.Todo
CompactThemeProvider
styles by default and introduce aTextualContentThemeProvider
component for textual content.CompactThemeProvider
The text was updated successfully, but these errors were encountered: