commit d8b8d016d1589eebcd034aa9e416b51a7c762fa5
parent 39d16c1561a2b235aa0606926b0949d32d7a7557
Author: Scott Venkataraman <scottvenkataraman22@gmail.com>
Date: Mon, 17 Nov 2025 22:12:55 +0000
Bug 1999325 - Replace custom --font-size-xsmall in _theme.scss with the design token. r=accessibility-frontend-reviewers,ayeddi,maxx
Differential Revision: https://phabricator.services.mozilla.com/D272702
Diffstat:
2 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/browser/extensions/newtab/content-src/styles/_theme.scss b/browser/extensions/newtab/content-src/styles/_theme.scss
@@ -96,9 +96,6 @@ $shadow-image-inset: inset 0 0 0 0.5px $black-15;
// Buttons
--newtab-button-secondary-color: inherit;
- // Bug 1967750: Custom font size for sponsored text
- --font-size-xsmall: 0.734rem; // 11px
-
&[lwt-newtab-brighttext] {
// We export color-scheme because some addon themes might not work with light-dark and prefers-color-scheme.
// If we add color-scheme here, we can still use light-dark
diff --git a/browser/extensions/newtab/css/activity-stream.css b/browser/extensions/newtab/css/activity-stream.css
@@ -79,7 +79,6 @@ input {
--newtab-textbox-focus-color: var(--newtab-primary-action-background);
--newtab-textbox-focus-boxshadow: 0 0 0 1px var(--newtab-primary-action-background), 0 0 0 4px rgba(var(--newtab-primary-action-background), 0.3);
--newtab-button-secondary-color: inherit;
- --font-size-xsmall: 0.734rem;
}
:root[lwt-newtab-brighttext] {
color-scheme: dark;