commit 91e36bc96dab6fce7d981d8bb9b885430c96e078 parent b06d57f3afb43a9f0eb50c830cf974276d8c63df Author: dwhisman <dwhisman@mozilla.com> Date: Mon, 3 Nov 2025 19:58:08 +0000 Bug 1992736 - Use font-weight tokens instead of keywords/raw values r=mtigley,credential-management-reviewers Differential Revision: https://phabricator.services.mozilla.com/D270557 Diffstat:
7 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/browser/components/aboutlogins/content/aboutLogins.css b/browser/components/aboutlogins/content/aboutLogins.css @@ -72,7 +72,7 @@ login-item[data-editing="true"] + login-intro, display: flex; justify-content: center; width: var(--sidebar-width); - font-weight: 600; + font-weight: var(--heading-font-weight); } :root:not(.primary-password-auth-required) #primary-password-required-overlay { diff --git a/browser/components/aboutlogins/content/aboutLoginsImportReport.css b/browser/components/aboutlogins/content/aboutLoginsImportReport.css @@ -15,7 +15,7 @@ } .import-report-heading { - font-weight: 600; + font-weight: var(--heading-font-weight); margin-block: auto; margin-inline-start: 48px; } @@ -56,7 +56,7 @@ .result-count { font-size: 40px; - font-weight: bold; + font-weight: var(--font-weight-bold); } .new-logins { @@ -91,7 +91,7 @@ .not-imported { font-style: italic; - font-weight: bold; + font-weight: var(--font-weight-bold); } .error { diff --git a/browser/components/aboutlogins/content/components/import-error-dialog.css b/browser/components/aboutlogins/content/components/import-error-dialog.css @@ -10,7 +10,7 @@ } .error-title { - font-weight: 600; + font-weight: var(--heading-font-weight); margin-top: 20px; } @@ -19,7 +19,7 @@ } .error-learn-more-link { - font-weight: 600; + font-weight: var(--font-weight-semibold); } .warning-icon { diff --git a/browser/components/aboutlogins/content/components/import-summary-dialog.css b/browser/components/aboutlogins/content/components/import-summary-dialog.css @@ -26,7 +26,7 @@ .result-count { text-align: end; - font-weight: bold; + font-weight: var(--font-weight-bold); } .result-meta { @@ -38,5 +38,5 @@ .open-detailed-report { margin-block-start: 30px; - font-weight: 600; + font-weight: var(--font-weight-semibold); } diff --git a/browser/components/aboutlogins/content/components/login-alert.css b/browser/components/aboutlogins/content/components/login-alert.css @@ -59,7 +59,7 @@ } :host(login-vulnerable-password-alert) a { - font-weight: 600; + font-weight: var(--font-weight-semibold); } :host(login-vulnerable-password-alert) div[slot="content"] > a { @@ -76,6 +76,6 @@ } :host(login-breach-alert) a { - font-weight: 600; + font-weight: var(--font-weight-semibold); color: inherit; } diff --git a/browser/components/aboutlogins/content/components/login-list-lit-item.css b/browser/components/aboutlogins/content/components/login-list-lit-item.css @@ -32,7 +32,7 @@ } .list-item.selected .title { - font-weight: 600; + font-weight: var(--heading-font-weight); } .labels { diff --git a/browser/components/aboutlogins/content/components/remove-logins-dialog.css b/browser/components/aboutlogins/content/components/remove-logins-dialog.css @@ -36,7 +36,7 @@ } .message { - font-weight: 600; + font-weight: var(--font-weight-semibold); grid-area: 2 / 2 / 3 / 8; font-size: 1.25em; }