Skip to content

Commit

Permalink
Merge pull request #1161 from nummi/inter-font
Browse files Browse the repository at this point in the history
Inter Font
  • Loading branch information
nummi committed Mar 18, 2020
2 parents 1c4f549 + 0a6f0cc commit 651046b
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,24 @@

{{content-for "head"}}

<style type="text/css">
@font-face {
font-display: swap;
font-family: 'Inter';
font-style: normal;
font-weight: 400;
src: url("{{rootURL}}assets/fonts/Inter-Regular.woff2?v=3.12") format("woff2"), url("{{rootURL}}assets/fonts/Inter-Regular.woff?v=3.12") format("woff");
}

@font-face {
font-display: swap;
font-family: 'Inter';
font-style: normal;
font-weight: 700;
src: url("{{rootURL}}assets/fonts/Inter-Bold.woff2?v=3.12") format("woff2"), url("{{rootURL}}assets/fonts/Inter-Bold.woff?v=3.12") format("woff");
}
</style>

<link integrity="" rel="stylesheet" href="{{rootURL}}assets/vendor.css">
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/ember-inspector.css">

Expand Down
2 changes: 1 addition & 1 deletion app/styles/base.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:root {
--font-sans-serif: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Cantarell', 'Oxygen', 'Ubuntu', 'Helvetica Neue', helvetica, arial, sans-serif;
--font-sans-serif: "Inter", -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Cantarell', 'Oxygen', 'Ubuntu', 'Helvetica Neue', helvetica, arial, sans-serif;
--font-monospace: 'SF Mono', Menlo, Monaco, monospace;
--inherit: inherit;
--unit0: 0;
Expand Down
Binary file added public/assets/fonts/Inter-Bold.woff
Binary file not shown.
Binary file added public/assets/fonts/Inter-Bold.woff2
Binary file not shown.
Binary file added public/assets/fonts/Inter-Regular.woff
Binary file not shown.
Binary file added public/assets/fonts/Inter-Regular.woff2
Binary file not shown.

0 comments on commit 651046b

Please sign in to comment.