Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(typography): rename token headings #2814

Merged
merged 1 commit into from
Jun 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
docs(typography): rename token headings
  • Loading branch information
denkristoffer committed Jun 28, 2024
commit 9ec73eb4aaf7969f34bed5f75b3d16e87a453c6e
8 changes: 3 additions & 5 deletions packages/website/content/tokens/typography.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Typography is a foundational element in UI design. Good typography establishes a

Forma 36 enables users to create clean, efficient user interfaces that utilize system UI fonts.

### System UI font family:
### System UI font family

![Typefaces demonstration, San Francisco, Lucida Grande, Neue Helvetica, Arial, and Segoe UI](/typeface.png)

Expand All @@ -20,7 +20,7 @@ Forma 36 uses system UI fonts. System UI fonts refer to the fonts used to render
**San Francisco** appears on Safari (Mac OS X and iOS); **Neue Helvetica** and **Lucida Grande** appears on older versions of Mac OS X;
**Segoe UI** targets Windows and Windows phone; **Arial** is available on almost all operating systems.

### Tokens
### Typeface tokens

<TypographyTokensTable variant="stack" />

Expand Down Expand Up @@ -77,7 +77,7 @@ Avoid using Display Large as a replacement for headings. In these cases, use the

Font size: **35px** = **2.188rem** - Line Height: **44px** = **2.75rem** - Weight: **700**

### Tokens
### Font tokens

#### Font base

Expand All @@ -95,8 +95,6 @@ Line height can be described as a vertical padding around letters on each line.

The Forma 36 line height is defined by rem, which forces the line height to correspond to the root font size.

### Tokens

<TypographyTokensTable variant="lineHeight" />

### Consistency
Expand Down
Loading