chore: font updates
This commit is contained in:
parent
5ec0873695
commit
b6f345dc73
5 changed files with 7 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "8.2.4",
|
||||
"version": "8.2.5",
|
||||
"description": "The source for my personal site. Built using 11ty.",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
<title>{{ pageTitle }}</title>
|
||||
<script defer data-domain="coryd.dev" src="/js/script.js"></script>
|
||||
<script>window.plausible = window.plausible || function() {(window.plausible.q = window.plausible.q || []).push(arguments)}</script>
|
||||
<link rel="preload" href="/assets/fonts/Poppins-Bold.woff2" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="preload" href="/assets/fonts/Poppins-Regular.woff2" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="preload" href="/assets/fonts/Poppins-Bold.min.woff2" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="preload" href="/assets/fonts/Poppins-Regular.min.woff2" as="font" type="font/woff2" crossorigin>
|
||||
{% capture css %}
|
||||
{% render "../assets/styles/partials/fonts.css" %}
|
||||
{% render "../assets/styles/partials/vars.css" %}
|
||||
|
|
BIN
src/assets/fonts/Poppins-Bold.min.woff2
Normal file
BIN
src/assets/fonts/Poppins-Bold.min.woff2
Normal file
Binary file not shown.
BIN
src/assets/fonts/Poppins-Regular.min.woff2
Normal file
BIN
src/assets/fonts/Poppins-Regular.min.woff2
Normal file
Binary file not shown.
|
@ -1,13 +1,13 @@
|
|||
@font-face {
|
||||
font-family: Poppins;
|
||||
src: url('/assets/fonts/Poppins-Bold.woff2') format("woff2");
|
||||
src: url('/assets/fonts/Poppins-Bold.min.woff2') format("woff2");
|
||||
font-weight: 700;
|
||||
font-display: swap;
|
||||
font-display: optional
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Poppins;
|
||||
src: url('/assets/fonts/Poppins-Regular.woff2') format("woff2");
|
||||
src: url('/assets/fonts/Poppins-Regular.min.woff2') format("woff2");
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
font-display: optional
|
||||
}
|
Reference in a new issue