Skip to content

Commit

Permalink
Ship inter as webfont
Browse files Browse the repository at this point in the history
  • Loading branch information
bash committed Jul 22, 2024
1 parent 920b1e7 commit d54b191
Show file tree
Hide file tree
Showing 20 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions sass/_fonts.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100; font-display: swap; src: url("fonts/inter/Inter-Thin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 100; font-display: swap; src: url("fonts/inter/Inter-ThinItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 200; font-display: swap; src: url("fonts/inter/Inter-ExtraLight.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 200; font-display: swap; src: url("fonts/inter/Inter-ExtraLightItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/inter/Inter-Light.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 300; font-display: swap; src: url("fonts/inter/Inter-LightItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/inter/Inter-Italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 500; font-display: swap; src: url("fonts/inter/Inter-MediumItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 600; font-display: swap; src: url("fonts/inter/Inter-SemiBoldItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/inter/Inter-Bold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 700; font-display: swap; src: url("fonts/inter/Inter-BoldItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/inter/Inter-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 800; font-display: swap; src: url("fonts/inter/Inter-ExtraBoldItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 900; font-display: swap; src: url("fonts/inter/Inter-Black.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 900; font-display: swap; src: url("fonts/inter/Inter-BlackItalic.woff2") format("woff2"); }
2 changes: 1 addition & 1 deletion sass/style.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import '_fonts.scss';
@import '_reset.scss';
@import '_palette.scss';

Expand Down Expand Up @@ -110,4 +111,3 @@ figure {
grid-template-columns: auto;
}
}

Binary file added static/fonts/inter/Inter-Black.woff2
Binary file not shown.
Binary file added static/fonts/inter/Inter-BlackItalic.woff2
Binary file not shown.
Binary file added static/fonts/inter/Inter-Bold.woff2
Binary file not shown.
Binary file added static/fonts/inter/Inter-BoldItalic.woff2
Binary file not shown.
Binary file added static/fonts/inter/Inter-ExtraBold.woff2
Binary file not shown.
Binary file added static/fonts/inter/Inter-ExtraBoldItalic.woff2
Binary file not shown.
Binary file added static/fonts/inter/Inter-ExtraLight.woff2
Binary file not shown.
Binary file added static/fonts/inter/Inter-ExtraLightItalic.woff2
Binary file not shown.
Binary file added static/fonts/inter/Inter-Italic.woff2
Binary file not shown.
Binary file added static/fonts/inter/Inter-Light.woff2
Binary file not shown.
Binary file added static/fonts/inter/Inter-LightItalic.woff2
Binary file not shown.
Binary file added static/fonts/inter/Inter-Medium.woff2
Binary file not shown.
Binary file added static/fonts/inter/Inter-MediumItalic.woff2
Binary file not shown.
Binary file added static/fonts/inter/Inter-Regular.woff2
Binary file not shown.
Binary file added static/fonts/inter/Inter-SemiBold.woff2
Binary file not shown.
Binary file added static/fonts/inter/Inter-SemiBoldItalic.woff2
Binary file not shown.
Binary file added static/fonts/inter/Inter-Thin.woff2
Binary file not shown.
Binary file added static/fonts/inter/Inter-ThinItalic.woff2
Binary file not shown.

0 comments on commit d54b191

Please sign in to comment.