Task Description
Implement the defined typography scale in the Juno UI component library. The scale is defined in Figma and serves as the specification for this implementation.
References
Typography Scale
| Element |
Font |
Weight |
Size (rem) |
Size (px) |
Line-height |
Tailwind LH |
| h1 |
IBM Plex Sans |
700 |
1.69rem |
27px |
1.375 |
leading-snug |
| h2 |
IBM Plex Sans |
700 |
1.56rem |
25px |
1.375 |
leading-snug |
| h3 |
IBM Plex Sans |
700 |
1.44rem |
23px |
1.375 |
leading-snug |
| h4 |
IBM Plex Sans |
700 |
1.28rem |
20.5px |
1.625 |
leading-relaxed |
| h5 |
IBM Plex Sans |
700 |
1.125rem |
18px |
1.625 |
leading-relaxed |
| h6 |
IBM Plex Sans |
700 |
1rem |
16px |
1.5 |
leading-normal |
Sub-tasks
Deliverables
- Typography scale implemented in
global.css/theme.css
- Heading styles in
formatted-text.css aligned with the same scale
- Aligned with the Figma spec and Tailwind's typographic system
Task Description
Implement the defined typography scale in the Juno UI component library. The scale is defined in Figma and serves as the specification for this implementation.
References
Typography Scale
Sub-tasks
global.css/theme.cssinto the existing base style section (@layer base) following the established patternh1–h6element styles, aligned with the table above (useremsizing, px only mentioned for overview)FormattedText/formatted-text.csswith the same scale (font-size, line-height, h6 added)Deliverables
global.css/theme.cssformatted-text.cssaligned with the same scale