Skip to content

Commit a04f78a

Browse files
authored
Merge pull request #571 from MerginMaps/revert-566-font-update-light-theme
Revert "Update light theme fonts line heights"
2 parents 45d40b3 + 7b8ef28 commit a04f78a

2 files changed

Lines changed: 15 additions & 28 deletions

File tree

LICENSES/CLA-signed-list.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,3 @@ C/ My company has custom contribution contract with Lutra Consulting Ltd. or I a
2121
* luxusko, 25th August 2023
2222
* jozef-budac, 30th January 2024
2323
* fernandinand, 13th March 2025
24-
* xkello, 27th January 2025

web-app/packages/lib/src/assets/sass/themes/mm-theme-light/_fonts.scss

Lines changed: 15 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -24,97 +24,85 @@ body {
2424

2525
$fontFamily: Inter, sans-serif;
2626

27-
.title-d1 {
28-
font-size: 5.375rem !important;
29-
line-height: 1.13;
30-
font-weight: 600;
31-
}
32-
33-
.title-d2 {
34-
font-size: 4.25rem !important;
35-
line-height: 1.17;
36-
font-weight: 600;
37-
}
38-
3927
.headline-h1 {
4028
font-size: 3rem !important;
41-
line-height: 1.125;
29+
line-height: 1.25;
4230
font-weight: 600;
4331
}
4432

4533
.headline-h2 {
4634
font-size: 2.25rem !important;
47-
line-height: 1.166666666666667;
35+
line-height: 1.33;
4836
font-weight: 600;
4937
}
5038

5139
.headline-h3 {
5240
font-size: 1.5rem !important;
53-
line-height: 1.25;
41+
line-height: 1.5;
5442
font-weight: 600;
5543
}
5644

5745
.title-t1 {
5846
font-size: 1.125rem !important;
59-
line-height: 1.333333333333333;
47+
line-height: 1.6;
6048
font-weight: 600;
6149
}
6250

6351
.title-t2 {
6452
font-size: 1rem !important;
65-
line-height: 1.375;
53+
line-height: 1.75;
6654
font-weight: 600;
6755
}
6856

6957
.title-t3 {
7058
font-size: 0.875rem !important;
71-
line-height: 1.428571428571429;
59+
line-height: 1.857;
7260
font-weight: 600;
7361
}
7462

7563
.title-t4 {
7664
font-size: 0.75rem !important;
77-
line-height: 1.5;
65+
line-height: 2;
7866
font-weight: 600;
7967
}
8068

8169
.title-t5 {
8270
font-size: 0.625rem !important;
83-
line-height: 1.6;
71+
line-height: 2.2;
8472
font-weight: 600;
8573
}
8674

8775
.paragraph-p1 {
8876
font-size: 2rem !important;
89-
line-height: 1.1875;
77+
line-height: 1.375;
9078
}
9179

9280
.paragraph-p2 {
9381
font-size: 1.5rem !important;
94-
line-height: 1.25;
82+
line-height: 1.5;
9583
}
9684

9785
.paragraph-p3 {
9886
font-size: 1.25rem !important;
99-
line-height: 1.3;
87+
line-height: 1.6;
10088
}
10189

10290
.paragraph-p4 {
10391
font-size: 1rem !important;
104-
line-height: 1.375;
92+
line-height: 1.75;
10593
}
10694

10795
.paragraph-p5 {
10896
font-size: 0.875rem !important;
109-
line-height: 1.428571428571429;
97+
line-height: 1.857;
11098
}
11199

112100
.paragraph-p6 {
113101
font-size: 0.75rem !important;
114-
line-height: 1.5;
102+
line-height: 2;
115103
}
116104

117105
.paragraph-p7 {
118106
font-size: 0.625rem !important;
119-
line-height: 1.6;
107+
line-height: 2.2;
120108
}

0 commit comments

Comments
 (0)