Skip to main content

Typography font-size & line-height tokens (DES-67)

Pre-release · Type: 🐛 Bug Fix

Related issues: DES-67 / WEB-846

Problem

DS 4.0 updated the font-size scale (UI Type Scale) for the Desktop platform. The Font-Size / Line-Height tokens in the code did not match the spec, and the H4/H5/H6 levels were missing.

Changed Files

  • packages/design-tokens/src/source/figma-variables.json
  • packages/design-tokens/src/source/Plaud Web 4.0 Design System-variables.css
  • packages/design-tokens/src/generated/css/variables-light.css

Changes

TokenOldNew
Font-Size-Display32px36px
Font-Size-H124px28px
Font-Size-H220px22px
Font-Size-H318px20px
Font-Size-H417px (added)
Font-Size-H515px (added)
Font-Size-H613px (added)
Font-Size-Body14px15px
Line-Height-H230px28px
Line-Height-H328px26px
Line-Height-H422px (added)
Line-Height-H520px (added)
Line-Height-H618px (added)