Skip to content

Commit

Permalink
Fix regression reverting back to google fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
andmor- committed Mar 26, 2021
1 parent 7b23e14 commit cb864f2
Showing 1 changed file with 52 additions and 2 deletions.
54 changes: 52 additions & 2 deletions assets/styles/utility/typography.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,58 @@
/* TYPOGRAPHY */

/* Google Fonts */
/* Inter font from https://github.com/rsms/inter/releases */

@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("../fonts/inter/Inter-Regular.woff2?v=3.15") format("woff2"),
url("../fonts/inter/Inter-Regular.woff?v=3.15") format("woff");
}
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 400;
font-display: swap;
src: url("../fonts/inter/Inter-Italic.woff2?v=3.15") format("woff2"),
url("../fonts/inter/Inter-Italic.woff?v=3.15") format("woff");
}

@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url("../fonts/inter/Inter-SemiBold.woff2?v=3.15") format("woff2"),
url("../fonts/inter/Inter-SemiBold.woff?v=3.15") format("woff");
}
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 600;
font-display: swap;
src: url("../fonts/inter/Inter-SemiBoldItalic.woff2?v=3.15") format("woff2"),
url("../fonts/inter/Inter-SemiBoldItalic.woff?v=3.15") format("woff");
}

@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url("../fonts/inter/Inter-Bold.woff2?v=3.15") format("woff2"),
url("../fonts/inter/Inter-Bold.woff?v=3.15") format("woff");
}
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 700;
font-display: swap;
src: url("../fonts/inter/Inter-BoldItalic.woff2?v=3.15") format("woff2"),
url("../fonts/inter/Inter-BoldItalic.woff?v=3.15") format("woff");
}

@import url("https://fonts.googleapis.com/css?family=Inter:400,400italic,600,600italic,700,700italic");
// font families
$font-inter: 'Inter',
Arial,
Expand Down

0 comments on commit cb864f2

Please sign in to comment.