Skip to content

Consider token parity for unpaired font sizes and line height #43

@jonathantneal

Description

@jonathantneal

The current tokens include font sizes from 2xl thru 6xl, while line heights only go from 2xl to 4xl. There are no line height tokens for 5xl or 6xl.

:where(:root) {
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;
}

Conversely, there is a line height token for 2xs which does not have a corresponding font size.

:where(:root) {
  --line-height-2xs: 14px;
}

I recommend these tokens be removed or otherwise be given parity.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions