Skip to content

Commit 9593dba

Browse files
authored
Merge pull request #340 from ember-learn/adds-missing-italic-fonts
adds missing italic font faces
2 parents 28ef014 + 3a76238 commit 9593dba

16 files changed

+30
-9
lines changed

addon/styles/global.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,10 @@ html {
144144
border: 0;
145145
}
146146

147+
em, i {
148+
font-family: "Inter web italic", var(--font-family-sans);
149+
}
150+
147151
body {
148152
font-size: var(--font-size-base);
149153
line-height: var(--line-height-base);

addon/styles/typography.css

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,52 @@
33
font-style: normal;
44
font-weight: 400;
55
font-display: swap;
6-
src: url("/fonts/Inter-Regular.woff2?v=3.11") format("woff2"),
7-
url("/fonts/Inter-Regular.woff?v=3.11") format("woff");
6+
src: url("/fonts/Inter-Regular.woff2?v=3.15") format("woff2"),
7+
url("/fonts/Inter-Regular.woff?v=3.15") format("woff");
88
}
99

1010
@font-face {
1111
font-family: "Inter web";
1212
font-style: normal;
1313
font-weight: 600;
1414
font-display: swap;
15-
src: url("/fonts/Inter-SemiBold.woff2?v=3.11") format("woff2"),
16-
url("/fonts/Inter-SemiBold.woff?v=3.11") format("woff");
15+
src: url("/fonts/Inter-SemiBold.woff2?v=3.15") format("woff2"),
16+
url("/fonts/Inter-SemiBold.woff?v=3.15") format("woff");
1717
}
1818

1919
@font-face {
2020
font-family: "Inter web";
2121
font-style: normal;
2222
font-weight: 200;
2323
font-display: swap;
24-
src: url("/fonts/Inter-ExtraLight-BETA.woff2?v=3.11") format("woff2"),
25-
url("/fonts/Inter-ExtraLight-BETA.woff?v=3.11") format("woff");
24+
src: url("/fonts/Inter-ExtraLight.woff2?v=3.15") format("woff2"),
25+
url("/fonts/Inter-ExtraLight.woff?v=3.15") format("woff");
26+
}
27+
28+
@font-face {
29+
font-family: "Inter web italic";
30+
font-style: italic;
31+
font-weight: 400;
32+
font-display: swap;
33+
src: url("/fonts/Inter-Italic.woff2?v=3.15") format("woff2"),
34+
url("/fonts/Inter-Italic.woff?v=3.15") format("woff");
35+
}
36+
37+
@font-face {
38+
font-family: "Inter web italic";
39+
font-style: italic;
40+
font-weight: 600;
41+
font-display: swap;
42+
src: url("/fonts/Inter-SemiBoldItalic.woff2?v=3.15") format("woff2"),
43+
url("/fonts/Inter-SemiBoldItalic.woff?v=3.15") format("woff");
2644
}
2745

2846
@font-face {
2947
font-family: "Inter var";
3048
font-weight: 100 900;
3149
font-display: swap;
3250
font-style: normal;
33-
font-named-instance: "Regular";
34-
src: url("/fonts/Inter-roman.var.woff2?v=3.11") format("woff2");
51+
src: url("/fonts/Inter-roman.var.woff2?v=3.15") format("woff2");
3552
}
3653

3754
.sans {

docs/concepts/markdown.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ You thought you got away with 3 headers, well you haven't seen nothin yet!
3434
3535
Will the headers never stop!?
3636
37-
Sometimes you just want to be **bold with your words**! But other times *you might feel a bit off center*.
37+
Sometimes you just want to be **bold with your words**! But other times _you might feel a bit off center_. And if you're really bad you might feel **both at the _same_ time**
3838
3939
[Ember is the best framework](https://emberjs.com)
4040
-143 KB
Binary file not shown.
-107 KB
Binary file not shown.

public/fonts/Inter-ExtraLight.woff

137 KB
Binary file not shown.

public/fonts/Inter-ExtraLight.woff2

102 KB
Binary file not shown.

public/fonts/Inter-Italic.woff

140 KB
Binary file not shown.

public/fonts/Inter-Italic.woff2

104 KB
Binary file not shown.

public/fonts/Inter-Regular.woff

-672 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)