Skip to content

Commit

Permalink
Updated fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
philwareham committed Apr 7, 2021
1 parent deed912 commit 93b44c3
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 12 deletions.
16 changes: 8 additions & 8 deletions src/assets/sass/modules/_fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,33 +11,33 @@
font-family: "PT Serif";
font-style: normal;
font-weight: normal;
font-display: optional;
src: url("https://textile-lang.com/assets/fonts/pt-serif-v11-latin-regular.woff2") format("woff2"), url("https://textile-lang.com/assets/fonts/pt-serif-v11-latin-regular.woff") format("woff");
font-display: swap;
src: url("https://textile-lang.com/assets/fonts/pt-serif-v12-latin-regular.woff2") format("woff2"), url("https://textile-lang.com/assets/fonts/pt-serif-v12-latin-regular.woff") format("woff");
}

// Regular Italic
@font-face {
font-family: "PT Serif";
font-style: italic;
font-weight: normal;
font-display: optional;
src: url("https://textile-lang.com/assets/fonts/pt-serif-v11-latin-italic.woff2") format("woff2"), url("https://textile-lang.com/assets/fonts/pt-serif-v11-latin-italic.woff") format("woff");
font-display: swap;
src: url("https://textile-lang.com/assets/fonts/pt-serif-v12-latin-italic.woff2") format("woff2"), url("https://textile-lang.com/assets/fonts/pt-serif-v12-latin-italic.woff") format("woff");
}

// Bold
@font-face {
font-family: "PT Serif";
font-style: normal;
font-weight: bold;
font-display: optional;
src: url("https://textile-lang.com/assets/fonts/pt-serif-v11-latin-700.woff2") format("woff2"), url("https://textile-lang.com/assets/fonts/pt-serif-v11-latin-700.woff") format("woff");
font-display: swap;
src: url("https://textile-lang.com/assets/fonts/pt-serif-v12-latin-700.woff2") format("woff2"), url("https://textile-lang.com/assets/fonts/pt-serif-v12-latin-700.woff") format("woff");
}

// Bold Italic
@font-face {
font-family: "PT Serif";
font-style: italic;
font-weight: bold;
font-display: optional;
src: url("https://textile-lang.com/assets/fonts/pt-serif-v11-latin-700italic.woff2") format("woff2"), url("https://textile-lang.com/assets/fonts/pt-serif-v11-latin-700italic.woff") format("woff");
font-display: swap;
src: url("https://textile-lang.com/assets/fonts/pt-serif-v12-latin-700italic.woff2") format("woff2"), url("https://textile-lang.com/assets/fonts/pt-serif-v12-latin-700italic.woff") format("woff");
}
4 changes: 0 additions & 4 deletions src/templates/forms/misc/head.txp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<link rel="preload" href="https://textile-lang.com/assets/fonts/pt-serif-v11-latin-regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://textile-lang.com/assets/fonts/pt-serif-v11-latin-italic.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://textile-lang.com/assets/fonts/pt-serif-v11-latin-700.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://textile-lang.com/assets/fonts/pt-serif-v11-latin-700italic.woff2" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="/assets/css/style.@@timestamp.css">
<link rel="icon" href="/favicon.ico">
<link rel="icon" href="/icon.svg" type="image/svg+xml">
Expand Down

0 comments on commit 93b44c3

Please sign in to comment.