ic-design-system
ic-design-system copied to clipboard
[ic-typography]: Update code snippets which include `IcTypography`
What component is this related to?
ic-typography
Why do we need it?
Improve the consistency in code snippets which use IcTypography.
In some snippets, we use IcTypography without any native typography tags (i.e. p, h1, h2, h3). It is not clear whether IcTypography will insert the native typography or if this needs to be manually added.
Example: https://design.sis.gov.uk/components/accordion/code
The guidance mentions IcTypography as a styled wrapper component so there is no need for any guidance updates.
Related open issues
N/A