chore: font updates

This commit is contained in:
Cory Dransfeldt 2024-03-19 10:28:25 -07:00
parent 5ec0873695
commit b6f345dc73
No known key found for this signature in database
5 changed files with 7 additions and 7 deletions

View file

@ -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": {

View file

@ -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" %}

Binary file not shown.

Binary file not shown.

View file

@ -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
}