Skip to content

Commit 4458d61

Browse files
committed
Separate font imports into separate links
1 parent 822bf63 commit 4458d61

File tree

5 files changed

+10
-16
lines changed

5 files changed

+10
-16
lines changed

index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@
2323
</title>
2424
<link rel="preconnect" href="https://fonts.googleapis.com">
2525
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
26-
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Montserrat:wght@300;400;600;700&family=OpenSans:wght@300;400;600;700&display=swap" rel="stylesheet">
26+
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
27+
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap" rel="stylesheet">
28+
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap" rel="stylesheet">
29+
30+
<!-- link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Montserrat:wght@300;400;600;700&family=OpenSans:wght@300;400;600;700&display=swap" rel="stylesheet" -->
2731
<style>
2832
html, body {
2933
margin: 0;

src/components/Breadcrumbs/styles.module.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,10 @@
88

99
&:not(:last-child) {
1010
color: var(--go-ui-color-gray-70);
11-
font-weight: var(--go-ui-font-weight-light);
12-
:hover {
13-
text-decoration: underline;
14-
color: var(--go-ui-color-primary-red);
15-
}
1611
}
1712

1813
&:last-child {
1914
color: var(--go-ui-color-black);
20-
font-weight: var(--go-ui-font-weight-semibold);
2115
}
2216
}
2317

src/index.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,11 @@
4242
--go-ui-line-height-sm: 1.375;
4343
--go-ui-line-height-md: 1.5;
4444

45-
--go-ui-font-weight-thin: 100;
46-
--go-ui-font-weight-extra-light: 200;
4745
--go-ui-font-weight-light: 300;
4846
--go-ui-font-weight-normal: 400;
4947
--go-ui-font-weight-medium: 500;
5048
--go-ui-font-weight-semibold: 600;
5149
--go-ui-font-weight-bold: 700;
52-
--go-ui-font-weight-extrabold: 800;
53-
--go-ui-font-weight-black: 900;
5450

5551
--go-ui-width-screen-sm: 640px;
5652
--go-ui-width-screen-md: 768px;
@@ -267,4 +263,8 @@ ul, ol, p {
267263
size: portrait A4;
268264
margin: 10mm;
269265
}
266+
267+
body {
268+
font-family: 'Open Sans', sans-serif;
269+
}
270270
}

src/views/Emergencies/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ export function Component() {
312312
</Fragment>
313313
))}
314314
</div>
315-
<div className={styles.footerDescription}>
315+
<div>
316316
{strings.emergencyPerformanceProblems}
317317
</div>
318318
</div>

src/views/Emergencies/styles.module.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,5 @@
5757
display: flex;
5858
gap: var(--go-ui-spacing-xs);
5959
}
60-
61-
.footer-description {
62-
font-style: italic;
63-
}
6460
}
6561
}

0 commit comments

Comments
 (0)