tor-browser

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

commit ca57aa6af2e9251f9bb2e3db672087272fdbe352
parent 7b5c8a2baa22f0fabd23f78542b94afc1bc36e53
Author: Irene Ni <ini@mozilla.com>
Date:   Mon, 17 Nov 2025 11:47:19 +0000

Bug 2000263 - Restore font weight controls in Reader View. r=reader-mode-reviewers,desktop-theme-reviewers,Itiel

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

Diffstat:
Mtoolkit/themes/shared/aboutReader.css | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/toolkit/themes/shared/aboutReader.css b/toolkit/themes/shared/aboutReader.css @@ -964,6 +964,7 @@ div[name="customtheme"] { * must be added to CLASSES_TO_PRESERVE in ReaderMode.sys.mjs, so that * Readability.js doesn't strip them out */ +/* Variables in .container are for user customization and should not be replaced with design tokens */ .container { margin: 0 auto; font-size: var(--font-size); @@ -972,7 +973,8 @@ div[name="customtheme"] { text-align: var(--text-alignment); word-spacing: var(--word-spacing); letter-spacing: var(--letter-spacing); - font-weight: normal; + /* stylelint-disable-next-line stylelint-plugin-mozilla/use-font-weight-tokens */ + font-weight: var(--font-weight); .header { text-align: var(--text-alignment);