Skip to content

Commit a07a807

Browse files
typography v1
1 parent 054482e commit a07a807

File tree

6 files changed

+55
-253
lines changed

6 files changed

+55
-253
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# HEAD
2+
3+
* Dropped support for font-sizes in pixels, all font-sizes are in rem now.
4+
* Removed `text-display-*` mixins. See migration notes for version 11.0.2.
5+
6+
17
# 22.0.0
28

39
## Features
@@ -52,6 +58,7 @@
5258

5359
* Un-customized implementations of the footer will not break. If you have made customizations review it at all breakpoints.
5460

61+
5562
# 21.0.0
5663

5764
## Features

assets/sass/protocol/base/utilities/_titles.scss

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -10,73 +10,41 @@
1010
.mzp-u-title-2xl {
1111
@include text-title-2xl;
1212
font-family: $title-font-family;
13-
14-
@supports (--css: variables) {
15-
font-family: var(--title-font-family);
16-
}
1713
}
1814

1915
.mzp-u-title-xl {
2016
@include text-title-xl;
2117
font-family: $title-font-family;
22-
23-
@supports (--css: variables) {
24-
font-family: var(--title-font-family);
25-
}
2618
}
2719

2820
.mzp-u-title-lg {
2921
@include text-title-lg;
3022
font-family: $title-font-family;
31-
32-
@supports (--css: variables) {
33-
font-family: var(--title-font-family);
34-
}
3523
}
3624

3725
.mzp-u-title-md {
3826
@include text-title-md;
3927
font-family: $title-font-family;
40-
41-
@supports (--css: variables) {
42-
font-family: var(--title-font-family);
43-
}
4428
}
4529

4630
.mzp-u-title-sm {
4731
@include text-title-sm;
4832
font-family: $title-font-family;
49-
50-
@supports (--css: variables) {
51-
font-family: var(--title-font-family);
52-
}
5333
}
5434

5535
.mzp-u-title-xs {
5636
@include text-title-xs;
5737
font-family: $title-font-family;
58-
59-
@supports (--css: variables) {
60-
font-family: var(--title-font-family);
61-
}
6238
}
6339

6440
.mzp-u-title-2xs {
6541
@include text-title-2xs;
6642
font-family: $title-font-family;
67-
68-
@supports (--css: variables) {
69-
font-family: var(--title-font-family);
70-
}
7143
}
7244

7345
.mzp-u-title-3xs {
7446
@include text-title-3xs;
7547
font-family: $title-font-family;
76-
77-
@supports (--css: variables) {
78-
font-family: var(--title-font-family);
79-
}
8048
}
8149

8250
// Utility class for centered text.

assets/sass/protocol/components/_sticky-promo.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ $logos: (
9292
}
9393

9494
.mzp-c-sticky-promo-title {
95-
@include text-display-xs;
95+
@include text-title-xs;
9696
margin-bottom: $spacing-xl;
9797
}
9898

assets/sass/protocol/includes/forms/_index.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ $line-height-shim: 0.15em; // two elements with text appear to have more space b
6767
@include text-body-sm;
6868
display: block;
6969
font-weight: bold;
70-
line-height: $text-body-line-height;
7170
margin: 0;
7271
padding-bottom: $label-v-spacing;
7372

0 commit comments

Comments
 (0)