Skip to content

Commit 0d2eb58

Browse files
Add font-weight to body styles (#2871)
* Add font-weight to body styles Add default font-weight to body styles * add changeset
1 parent cd0d5a3 commit 0d2eb58

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/short-falcons-march.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@primer/css': patch
3+
---
4+
5+
Add default font weight (--base-text-weight-normal, 400) to body

src/base/base.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ button {
1515
body {
1616
font-family: $body-font;
1717
font-size: var(--body-font-size, $body-font-size);
18+
font-weight: var(--base-text-weight-normal, 400);
1819
line-height: $body-line-height;
1920
color: var(--fgColor-default, var(--color-fg-default));
2021
background-color: var(--bgColor-default, var(--color-canvas-default));

0 commit comments

Comments
 (0)