Skip to content

Commit 0318b4b

Browse files
authored
Fix PageHeader context bar font-weight (#6256)
1 parent e222d2d commit 0318b4b

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.changeset/angry-boats-poke.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/react": patch
3+
---
4+
5+
Fix PageHeader context bar `font-weight`

packages/react/src/PageHeader/PageHeader.module.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
'description description description description description'
3030
'navigation navigation navigation navigation navigation';
3131

32-
/*
32+
/*
3333
line-height is calculated with calc(height/font-size) and the below numbers are from @primer/primitives.
3434
--custom-font-size, --custom-line-height, --custom-font-weight are custom properties that can be used to override the below values.
3535
We don't want these values to be overridden but still want to allow consumers to override them if needed.
@@ -120,7 +120,7 @@
120120
display: flex;
121121
padding-bottom: var(--base-size-8);
122122
font-size: var(--text-body-size-medium, 0.875rem);
123-
font-weight: var(--base-text-weight-light);
123+
font-weight: var(--base-text-weight-normal);
124124
line-height: var(--text-body-lineHeight-medium, 1.4285);
125125
flex-direction: row;
126126
grid-row: var(--grid-row-order-context-area);
@@ -172,7 +172,7 @@
172172
display: flex;
173173
padding-right: var(--base-size-8);
174174
font-size: var(--text-body-size-medium, 0.875rem);
175-
font-weight: var(--base-text-weight-light);
175+
font-weight: var(--base-text-weight-normal);
176176
line-height: var(--text-body-lineHeight-medium, 1.4285);
177177
grid-row: var(--grid-row-order-breadcrumbs);
178178
grid-area: breadcrumbs;
@@ -242,7 +242,7 @@
242242
display: block;
243243
padding-top: var(--base-size-8);
244244
font-size: var(--text-body-size-medium, 0.875rem);
245-
font-weight: var(--base-text-weight-light);
245+
font-weight: var(--base-text-weight-normal);
246246
line-height: var(--text-body-lineHeight-medium, 1.4285);
247247
grid-row: var(--grid-row-order-navigation);
248248
grid-area: navigation;

0 commit comments

Comments
 (0)