Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d54b191

Browse files
committedJul 22, 2024··
Ship inter as webfont
1 parent 920b1e7 commit d54b191

20 files changed

+19
-1
lines changed
 

‎sass/_fonts.scss

Lines changed: 18 additions & 0 deletions
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"); }

‎sass/style.scss

Lines changed: 1 addition & 1 deletion
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-

‎static/fonts/inter/Inter-Black.woff2

106 KB
Binary file not shown.
113 KB
Binary file not shown.

‎static/fonts/inter/Inter-Bold.woff2

108 KB
Binary file not shown.
116 KB
Binary file not shown.
109 KB
Binary file not shown.
116 KB
Binary file not shown.
108 KB
Binary file not shown.
Binary file not shown.

‎static/fonts/inter/Inter-Italic.woff2

112 KB
Binary file not shown.

‎static/fonts/inter/Inter-Light.woff2

107 KB
Binary file not shown.
114 KB
Binary file not shown.

‎static/fonts/inter/Inter-Medium.woff2

109 KB
Binary file not shown.
116 KB
Binary file not shown.
106 KB
Binary file not shown.
109 KB
Binary file not shown.
115 KB
Binary file not shown.

‎static/fonts/inter/Inter-Thin.woff2

104 KB
Binary file not shown.
111 KB
Binary file not shown.

0 commit comments

Comments
 (0)
Please sign in to comment.