Skip to content

Commit 4b8f0db

Browse files
committed
Increase font weight in detail page tabs labels to improve contrast.
1 parent abc47eb commit 4b8f0db

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/web_css/lib/src/_detail_page.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ $detail-tabs-tablet-width: calc(100% - 240px);
373373

374374
> .tab-button,
375375
> .tab-link > a {
376+
font-weight: 500;
376377
display: block;
377378
color: var(--pub-detail_tab-text-color);
378379
padding: 12px 0px;
@@ -387,8 +388,9 @@ $detail-tabs-tablet-width: calc(100% - 240px);
387388
}
388389

389390
> .tab-button {
391+
font-weight: 500;
390392
&.-active {
391-
font-weight: 500;
393+
font-weight: 600;
392394
color: var(--pub-detail_tab-active-color);
393395
border-bottom-color: var(--pub-detail_tab-active-color);
394396
}

0 commit comments

Comments
 (0)