Skip to content

Commit d54b191

Browse files
committed
Ship inter as webfont
1 parent 920b1e7 commit d54b191

20 files changed

+19
-1
lines changed

Diff for: sass/_fonts.scss

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100; font-display: swap; src: url("fonts/inter/Inter-Thin.woff2") format("woff2"); }
2+
@font-face { font-family: "Inter"; font-style: italic; font-weight: 100; font-display: swap; src: url("fonts/inter/Inter-ThinItalic.woff2") format("woff2"); }
3+
@font-face { font-family: "Inter"; font-style: normal; font-weight: 200; font-display: swap; src: url("fonts/inter/Inter-ExtraLight.woff2") format("woff2"); }
4+
@font-face { font-family: "Inter"; font-style: italic; font-weight: 200; font-display: swap; src: url("fonts/inter/Inter-ExtraLightItalic.woff2") format("woff2"); }
5+
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/inter/Inter-Light.woff2") format("woff2"); }
6+
@font-face { font-family: "Inter"; font-style: italic; font-weight: 300; font-display: swap; src: url("fonts/inter/Inter-LightItalic.woff2") format("woff2"); }
7+
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter/Inter-Regular.woff2") format("woff2"); }
8+
@font-face { font-family: "Inter"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/inter/Inter-Italic.woff2") format("woff2"); }
9+
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter/Inter-Medium.woff2") format("woff2"); }
10+
@font-face { font-family: "Inter"; font-style: italic; font-weight: 500; font-display: swap; src: url("fonts/inter/Inter-MediumItalic.woff2") format("woff2"); }
11+
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter/Inter-SemiBold.woff2") format("woff2"); }
12+
@font-face { font-family: "Inter"; font-style: italic; font-weight: 600; font-display: swap; src: url("fonts/inter/Inter-SemiBoldItalic.woff2") format("woff2"); }
13+
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/inter/Inter-Bold.woff2") format("woff2"); }
14+
@font-face { font-family: "Inter"; font-style: italic; font-weight: 700; font-display: swap; src: url("fonts/inter/Inter-BoldItalic.woff2") format("woff2"); }
15+
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/inter/Inter-ExtraBold.woff2") format("woff2"); }
16+
@font-face { font-family: "Inter"; font-style: italic; font-weight: 800; font-display: swap; src: url("fonts/inter/Inter-ExtraBoldItalic.woff2") format("woff2"); }
17+
@font-face { font-family: "Inter"; font-style: normal; font-weight: 900; font-display: swap; src: url("fonts/inter/Inter-Black.woff2") format("woff2"); }
18+
@font-face { font-family: "Inter"; font-style: italic; font-weight: 900; font-display: swap; src: url("fonts/inter/Inter-BlackItalic.woff2") format("woff2"); }

Diff for: sass/style.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
@import '_fonts.scss';
12
@import '_reset.scss';
23
@import '_palette.scss';
34

@@ -110,4 +111,3 @@ figure {
110111
grid-template-columns: auto;
111112
}
112113
}
113-

Diff for: static/fonts/inter/Inter-Black.woff2

106 KB
Binary file not shown.

Diff for: static/fonts/inter/Inter-BlackItalic.woff2

113 KB
Binary file not shown.

Diff for: static/fonts/inter/Inter-Bold.woff2

108 KB
Binary file not shown.

Diff for: static/fonts/inter/Inter-BoldItalic.woff2

116 KB
Binary file not shown.

Diff for: static/fonts/inter/Inter-ExtraBold.woff2

109 KB
Binary file not shown.

Diff for: static/fonts/inter/Inter-ExtraBoldItalic.woff2

116 KB
Binary file not shown.

Diff for: static/fonts/inter/Inter-ExtraLight.woff2

108 KB
Binary file not shown.

Diff for: static/fonts/inter/Inter-ExtraLightItalic.woff2

114 KB
Binary file not shown.

Diff for: static/fonts/inter/Inter-Italic.woff2

112 KB
Binary file not shown.

Diff for: static/fonts/inter/Inter-Light.woff2

107 KB
Binary file not shown.

Diff for: static/fonts/inter/Inter-LightItalic.woff2

114 KB
Binary file not shown.

Diff for: static/fonts/inter/Inter-Medium.woff2

109 KB
Binary file not shown.

Diff for: static/fonts/inter/Inter-MediumItalic.woff2

116 KB
Binary file not shown.

Diff for: static/fonts/inter/Inter-Regular.woff2

106 KB
Binary file not shown.

Diff for: static/fonts/inter/Inter-SemiBold.woff2

109 KB
Binary file not shown.

Diff for: static/fonts/inter/Inter-SemiBoldItalic.woff2

115 KB
Binary file not shown.

Diff for: static/fonts/inter/Inter-Thin.woff2

104 KB
Binary file not shown.

Diff for: static/fonts/inter/Inter-ThinItalic.woff2

111 KB
Binary file not shown.

0 commit comments

Comments
 (0)