Revert "chore: font loading strategy"

This reverts commit 069c937515.
This commit is contained in:
Cory Dransfeldt 2024-01-31 12:00:37 -08:00
parent 069c937515
commit aaf7ceb06e
No known key found for this signature in database
8 changed files with 29 additions and 34 deletions

View file

@ -1,6 +1,6 @@
{
"name": "coryd.dev",
"version": "4.15.0",
"version": "4.14.0",
"description": "The source for my personal site. Built using 11ty and hosted on Netlify.",
"type": "module",
"scripts": {

View file

@ -31,7 +31,7 @@
type="image/svg+xml">
<link href="/assets/icons/apple-touch-icon.png?v={% appVersion %}" rel="apple-touch-icon">
{% capture css %}
{% render "../assets/styles/fonts/index.css" %}
{% render "../assets/styles/fonts/silka.css" %}
{% render "../assets/styles/partials/vars.css" %}
{% render "../assets/styles/partials/animations.css" %}
{% render "../assets/styles/index.css" %}

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,31 +0,0 @@
@font-face {
font-family: 'silka';
src: url('/assets/fonts/silka/black.woff2') format('woff2'),;
font-weight: 900;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'silka';
src: url('/assets/fonts/silka/bold.woff2') format('woff2'),;
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'silka';
src: url('/assets/fonts/silka/regular.woff2') format('woff2'),;
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'serif-fallback';
src: local('Helvetica Neue');
line-height: 1.5;
font-weight: 400;
letter-spacing: 1px;
}

File diff suppressed because one or more lines are too long

View file

@ -52,7 +52,7 @@
--webrings: #ec8fd0;
/* fonts */
--font-sans: silka, 'serif-fallback', system-ui, sans-serif;
--font-sans: silka, Inter, Roboto, 'Helvetica Neue', system-ui, sans-serif;
--font-mono: ui-monospace, monospace;
/* text */