gov-au-ui-kit icon indicating copy to clipboard operation
gov-au-ui-kit copied to clipboard

Feature request - semantic typography classes for headings like .h1, .h2

Open elisechant opened this issue 7 years ago • 5 comments

What I did

Sometimes you need to style heading tags to look like other heading tags but maintain their semantics. A common pattern is to provide .h1, .h2, .h3 etc in addition to raw element styling so I able to style an element like this:

<h2 className="h4">Widgets</h2>

What I expected to see

Refs in gov-au-ui-kit/assets/sass/components/_typography.scss to include heading classes as well as raw element styles, like:

screen shot 2016-09-21 at 1 59 57 pm

elisechant avatar Sep 21 '16 04:09 elisechant