Skip to content

Commit faa9c0e

Browse files
authored
fix(site): set font weight (#5263)
2 parents 66cd123 + 0da19b3 commit faa9c0e

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:f172a41bcb74fa58fda457a837422007a2da03423f8e058179f5c0e329cdab53
3+
size 126468

site/public/fonts/TT-Supermolot-Neue-Variable.ttf

Lines changed: 0 additions & 3 deletions
This file was deleted.

site/src/components/brand/FontDisplay.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const fontDetails = {
1717
},
1818
supermolot: {
1919
name: "Supermolot",
20-
variants: ["Regular", "Bold"],
20+
variants: ["Bold"],
2121
},
2222
}
2323

site/src/styles/fonts.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
@font-face {
22
font-family: "Supermolot";
33
font-display: swap;
4-
src: url("/fonts/TT-Supermolot-Neue-Variable.ttf") format("truetype");
4+
font-weight: 700;
5+
src: url("/fonts/TT-Supermolot-Neue-Bold.ttf") format("truetype");
56
}
67

78
@font-face {

0 commit comments

Comments
 (0)