Skip to content

Typography

Carlos Alba edited this page Nov 21, 2020 · 2 revisions

Typography

The Typography folder contains values for HeadingOne to HeadingFour as well as ParagraphOne and ParagraphTwo they should be treated like normal text tags in html and the underlying element (usually corresponding to the name) can be modified with style and classname attributes.

Usage is pretty much like normal text the only difference is the resulting element is branded with the DGDS styling to make it easier to conform to the rest of the site. The Typography file can have values added to it as well if you want to make a custom font or design. Be sure to ask about any changes you make the underlying files too.

  <HeadingOne>Hello World!</HeadingOne>

Clone this wiki locally