Skip to content

Commit b44d5e7

Browse files
committed
Fix font error and replace with smaller size
1 parent acf0f90 commit b44d5e7

5 files changed

+6
-2
lines changed
-386 KB
Binary file not shown.
133 KB
Binary file not shown.

Diff for: public/fonts/SourceSans3-VariableFont_wght.ttf

-632 KB
Binary file not shown.

Diff for: public/fonts/SourceSans3-VariableFont_wght.woff2

163 KB
Binary file not shown.

Diff for: src/styles/main.css

+6-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@
33
\*------------------------------------*/
44
@font-face {
55
font-family: "Source Sans 3";
6-
src: url("/fonts/SourceSans3-VariableFont_wght.ttf");
6+
src: url("/fonts/SourceSans3-VariableFont_wght.woff2") format("woff2");
7+
font-weight: 200 900;
8+
font-display: swap;
79
font-style: normal;
810
}
911

1012
@font-face {
1113
font-family: "Source Sans 3";
12-
src: url("/fonts/SourceSans3-Italic-VariableFont_wght.ttf");
14+
src: url("/fonts/SourceSans3-Italic-VariableFont_wght.woff2") format("woff2");
15+
font-weight: 200 900;
16+
font-display: swap;
1317
font-style: italic;
1418
}
1519

0 commit comments

Comments
 (0)