Skip to content
This repository was archived by the owner on Aug 31, 2022. It is now read-only.

Commit a8b45ad

Browse files
authored
Merge pull request #103 from Synthetixio/fix/inter-fonts
fix: fix Inter bold font
2 parents e0d7df8 + 68d9edc commit a8b45ad

File tree

2 files changed

+21
-11
lines changed

2 files changed

+21
-11
lines changed
Binary file not shown.

src/styles/fonts/typography/_style.scss

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
@font-face {
2-
font-family: 'Inter';
3-
font-style: normal;
4-
font-weight: 400;
5-
font-display: swap;
6-
src: local('Inter'), url('./Inter-Regular.woff2') format('woff2'),
7-
url('./Inter-Regular.woff') format('woff');
8-
}
9-
101
@font-face {
112
font-family: 'Lustra Text';
123
font-style: normal;
@@ -53,10 +44,29 @@
5344
}
5445

5546
@font-face {
56-
font-family: 'Inter Bold';
47+
font-family: 'Inter';
5748
font-style: normal;
49+
font-weight: 400;
5850
font-display: swap;
59-
font-weight: 700;
51+
src: local('Inter'), url('./Inter-Regular.woff2') format('woff2'),
52+
url('./Inter-Regular.woff') format('woff');
53+
}
54+
55+
@font-face {
56+
font-family: 'Inter';
57+
font-style: normal;
58+
font-display: swap;
59+
font-weight: bold;
6060
src: local('Inter Bold'), url('./Inter-Bold.woff2') format('woff2'),
6161
url('./Inter-Bold.woff') format('woff');
6262
}
63+
64+
@font-face {
65+
font-family: 'Inter';
66+
font-style: normal;
67+
font-weight: 700;
68+
font-display: swap;
69+
src: url('./Inter-SemiBold.woff') format('woff');
70+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F,
71+
U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
72+
}

0 commit comments

Comments
 (0)