commit b255958816f9920c97b2f9087bfb743ee042cb88 parent 5bc99dcb0f8223c06d7d49020087cf51bd9fc4da Author: dwhisman <dwhisman@mozilla.com> Date: Mon, 3 Nov 2025 20:53:52 +0000 Bug 1992736 - Change font-weight values to closest design system font-weight tokens r=desktop-theme-reviewers,hjones,dao Differential Revision: https://phabricator.services.mozilla.com/D270679 Diffstat:
4 files changed, 5 insertions(+), 17 deletions(-)
diff --git a/browser/branding/official/stubinstaller/installing_page.css b/browser/branding/official/stubinstaller/installing_page.css @@ -29,7 +29,7 @@ body { #header { font-size: 24px; - font-weight: 800; + font-weight: 700; margin-top: 0; } diff --git a/browser/themes/shared/customizableui/panelUI-shared.css b/browser/themes/shared/customizableui/panelUI-shared.css @@ -813,7 +813,7 @@ toolbarbutton[constrain-size="true"][cui-areatype="panel"] > .toolbarbutton-badg padding: 6px 12px; background-color: var(--button-background-color); font-size: 0.9em; - font-weight: 500; + font-weight: var(--font-weight-semibold); max-width: fit-content; border-radius: var(--button-border-radius); @@ -944,18 +944,6 @@ toolbarbutton[constrain-size="true"][cui-areatype="panel"] > .toolbarbutton-badg margin-inline-start: var(--space-small); } -.PanelUI-fxa-service-description-label, -.PanelUI-remotetabs-instruction-label { - /* Use 'lighter' font for this to de-emphasize it compared to the title. */ - font-weight: lighter; - - @media (-moz-platform: linux) { - /* Use 300 on Linux because 100 is too light (lacks contrast with - * the background) for some fonts in combination with anti-aliasing. */ - font-weight: 300; - } -} - #fxa-menu-header-title { color: var(--arrowpanel-color); text-wrap: wrap; diff --git a/toolkit/content/widgets/moz-box-common.css b/toolkit/content/widgets/moz-box-common.css @@ -49,7 +49,7 @@ .label { grid-area: label; - font-weight: var(--box-label-font-weight); + font-weight: var(--box-label-font-weight, normal); } .icon { diff --git a/toolkit/themes/shared/aboutHttpsOnlyError.css b/toolkit/themes/shared/aboutHttpsOnlyError.css @@ -6,7 +6,7 @@ padding: 0; margin: 0; font-size: 17px; - font-weight: 500; + font-weight: var(--heading-font-weight); } .title { @@ -67,7 +67,7 @@ ul > li { padding: 0; margin: 0; font-size: 17px; - font-weight: 500; + font-weight: var(--heading-font-weight); } @media (max-width: 970px) {