Skip to content

Commit c455abd

Browse files
author
Jules Simplicio
committed
Bug 1838939 - Part 6: Use design system typography in protection and panels r=desktop-theme-reviewers,reusable-components-reviewers,dao,hjones
Differential Revision: https://phabricator.services.mozilla.com/D186035
1 parent e494458 commit c455abd

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

browser/components/protections/content/protections.css

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,10 @@ body[focuseddatatype=cryptominer] {
6565
}
6666

6767
h2 {
68-
font-weight: 700;
68+
font-weight: var(--font-weight-bold);
6969
}
7070

7171
#report-title {
72-
font-size: 20px;
73-
font-weight: 300;
7472
margin-block-end: 20px;
7573
}
7674

browser/themes/shared/customizableui/panelUI-shared.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1550,8 +1550,6 @@ radiogroup:focus-visible > .subviewradio[focused="true"] > .radio-label-box {
15501550

15511551
.panel-header > h1 {
15521552
flex: auto;
1553-
font-size: inherit;
1554-
font-weight: 600;
15551553
margin: 0;
15561554
}
15571555

toolkit/themes/shared/design-system/tokens-brand.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
@import url("chrome://global/skin/design-tokens-shared.css");
5+
@import url("chrome://global/skin/design-system/tokens-shared.css");
66

77
:root,
88
:host(.anonymous-content-host) {

0 commit comments

Comments
 (0)