Skip to content

feat(PajamasPres): Font size and measure

Jeremy Elder requested to merge decrease-font-size into main

Purpose

As a documentation site, Pajamas content can get quite dense and lengthy. This is especially noticeable on pages like the UI Kit Release Notes, or VPAT reports (which does reduce the size for tables). Instead of one-up font size changes to certain pages, a global change could bring the same desired effect of a) making this feel and read more like documentation, and b) potentially fitting more content in a view to make it easier to scan and compare points. Lastly, the content coming from Storybook uses a similar size (although incorrect fonts due to a Storybook bug), so this helps the content feel slightly more integrated.

Scope

  • Reduce the font size of most body text (doesn't impact headings or non-nuxt content).
  • Reduce the measure (line-length) to be relatively the same as it is currently.
  • Keep a generous ~1.7 line height to help distinguish lines of text.

Out of scope

  • Changes to mixins or underlying functionality of the current type system.
  • Changes to headings or non-nuxt content.
  • Changes to graphics that were created for a wider content area (in testing, downscaling had no negative impact).

Relates to: !3496 (closed)

Edited by Jeremy Elder

Merge request reports

Loading