From 4b8f0db90c1f9d99ff4039dc435f5459b95e46b0 Mon Sep 17 00:00:00 2001 From: Istvan Soos Date: Wed, 29 Jan 2025 12:03:38 +0100 Subject: [PATCH] Increase font weight in detail page tabs labels to improve contrast. --- pkg/web_css/lib/src/_detail_page.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/web_css/lib/src/_detail_page.scss b/pkg/web_css/lib/src/_detail_page.scss index 236e6ae677..ac2b2ffa0f 100644 --- a/pkg/web_css/lib/src/_detail_page.scss +++ b/pkg/web_css/lib/src/_detail_page.scss @@ -373,6 +373,7 @@ $detail-tabs-tablet-width: calc(100% - 240px); > .tab-button, > .tab-link > a { + font-weight: 500; display: block; color: var(--pub-detail_tab-text-color); padding: 12px 0px; @@ -387,8 +388,9 @@ $detail-tabs-tablet-width: calc(100% - 240px); } > .tab-button { + font-weight: 500; &.-active { - font-weight: 500; + font-weight: 600; color: var(--pub-detail_tab-active-color); border-bottom-color: var(--pub-detail_tab-active-color); }