ic-design-system icon indicating copy to clipboard operation
ic-design-system copied to clipboard

[ic-typography]: Update code snippets which include `IcTypography`

Open jd239 opened this issue 1 year ago • 0 comments

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

jd239 avatar May 09 '24 13:05 jd239