Skip to content

Commit fe057e4

Browse files
authored
Merge pull request #566 from MerginMaps/font-update-light-theme
Update light theme fonts line heights
2 parents 48a66a6 + f821257 commit fe057e4

2 files changed

Lines changed: 28 additions & 15 deletions

File tree

LICENSES/CLA-signed-list.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ 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: 27 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,85 +24,97 @@ 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+
2739
.headline-h1 {
2840
font-size: 3rem !important;
29-
line-height: 1.25;
41+
line-height: 1.125;
3042
font-weight: 600;
3143
}
3244

3345
.headline-h2 {
3446
font-size: 2.25rem !important;
35-
line-height: 1.33;
47+
line-height: 1.166666666666667;
3648
font-weight: 600;
3749
}
3850

3951
.headline-h3 {
4052
font-size: 1.5rem !important;
41-
line-height: 1.5;
53+
line-height: 1.25;
4254
font-weight: 600;
4355
}
4456

4557
.title-t1 {
4658
font-size: 1.125rem !important;
47-
line-height: 1.6;
59+
line-height: 1.333333333333333;
4860
font-weight: 600;
4961
}
5062

5163
.title-t2 {
5264
font-size: 1rem !important;
53-
line-height: 1.75;
65+
line-height: 1.375;
5466
font-weight: 600;
5567
}
5668

5769
.title-t3 {
5870
font-size: 0.875rem !important;
59-
line-height: 1.857;
71+
line-height: 1.428571428571429;
6072
font-weight: 600;
6173
}
6274

6375
.title-t4 {
6476
font-size: 0.75rem !important;
65-
line-height: 2;
77+
line-height: 1.5;
6678
font-weight: 600;
6779
}
6880

6981
.title-t5 {
7082
font-size: 0.625rem !important;
71-
line-height: 2.2;
83+
line-height: 1.6;
7284
font-weight: 600;
7385
}
7486

7587
.paragraph-p1 {
7688
font-size: 2rem !important;
77-
line-height: 1.375;
89+
line-height: 1.1875;
7890
}
7991

8092
.paragraph-p2 {
8193
font-size: 1.5rem !important;
82-
line-height: 1.5;
94+
line-height: 1.25;
8395
}
8496

8597
.paragraph-p3 {
8698
font-size: 1.25rem !important;
87-
line-height: 1.6;
99+
line-height: 1.3;
88100
}
89101

90102
.paragraph-p4 {
91103
font-size: 1rem !important;
92-
line-height: 1.75;
104+
line-height: 1.375;
93105
}
94106

95107
.paragraph-p5 {
96108
font-size: 0.875rem !important;
97-
line-height: 1.857;
109+
line-height: 1.428571428571429;
98110
}
99111

100112
.paragraph-p6 {
101113
font-size: 0.75rem !important;
102-
line-height: 2;
114+
line-height: 1.5;
103115
}
104116

105117
.paragraph-p7 {
106118
font-size: 0.625rem !important;
107-
line-height: 2.2;
119+
line-height: 1.6;
108120
}

0 commit comments

Comments
 (0)