Skip to content

Commit

Permalink
Merge 26220dc into 4170d9e
Browse files Browse the repository at this point in the history
  • Loading branch information
mperrotti authored Jul 18, 2023
2 parents 4170d9e + 26220dc commit c254240
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .changeset/rotten-meals-obey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@primer/react": patch
---

Adds 'display' text size to PRC theme. This size is described in our [typography documentation](https://primer.style/design/foundations/typography#headings), but was never added to our React theme.

<!-- Changed components: _none_ -->
2 changes: 1 addition & 1 deletion src/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const sizes = {
xlarge: '1280px',
}

const fontSizes = ['12px', '14px', '16px', '20px', '24px', '32px', '40px', '48px']
const fontSizes = ['12px', '14px', '16px', '20px', '24px', '32px', '40px', '48px', '56px']

const space = ['0', '4px', '8px', '16px', '24px', '32px', '40px', '48px', '64px', '80px', '96px', '112px', '128px']

Expand Down

0 comments on commit c254240

Please sign in to comment.