tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 731d92aa0320eccbd7c0bdc0de376b7879a19b8c
parent c5bcfff63ec0216bfc7e42a2c843fa31d7bfaa87
Author: dwhisman <dwhisman@mozilla.com>
Date:   Mon,  3 Nov 2025 20:48:50 +0000

Bug 1992736 - Use font-weight tokens instead of keywords/raw values r=desktop-theme-reviewers,dao

Differential Revision: https://phabricator.services.mozilla.com/D270606

Diffstat:
Mtoolkit/mozapps/extensions/content/aboutaddons.css | 8++++----
Mtoolkit/mozapps/extensions/content/shortcuts.css | 2+-
2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/toolkit/mozapps/extensions/content/aboutaddons.css b/toolkit/mozapps/extensions/content/aboutaddons.css @@ -83,7 +83,7 @@ h2 { min-width: 20px; background-color: var(--color-accent-primary); color: var(--button-text-color-primary); - font-weight: bold; + font-weight: var(--font-weight-bold); /* Use a large border-radius to get semi-circles on the sides. */ border-radius: var(--border-radius-circle); padding: 2px 6px; @@ -211,7 +211,7 @@ message-bar-stack > * { .list-section-subheading { font-size: 0.9em; - font-weight: 400; + font-weight: normal; margin-block-start: 0.5em; } @@ -399,7 +399,7 @@ addon-card[expanded] .update-postponed-bar, font-size: 14px; line-height: 20px; color: var(--text-color-deemphasized); - font-weight: 400; + font-weight: normal; } /* Prevent the content from wrapping unless expanded. */ @@ -814,5 +814,5 @@ section:not(:empty) ~ #empty-addons-message { } .permission-header > .addon-sitepermissions-host { - font-weight: bolder; + font-weight: var(--font-weight-bold); } diff --git a/toolkit/mozapps/extensions/content/shortcuts.css b/toolkit/mozapps/extensions/content/shortcuts.css @@ -24,7 +24,7 @@ .card-heading { display: flex; - font-weight: 600; + font-weight: var(--heading-font-weight); } .shortcut-row {