Apparently variable fonts are better... thanks reddit!
All checks were successful
Build and Deploy / build-and-push (push) Successful in 2m47s

This commit is contained in:
2025-12-22 13:59:16 -07:00
parent 8341938692
commit f65e5d1c0c
4 changed files with 7 additions and 7 deletions

View File

@@ -12,7 +12,7 @@
"dependencies": {
"@astrojs/node": "^9.5.1",
"@astrojs/solid-js": "^5.1.3",
"@fontsource/inter": "^5.2.8",
"@fontsource-variable/inter": "^5.2.8",
"@tailwindcss/vite": "^4.1.18",
"astro": "^5.16.6",
"astro-icon": "^1.1.5",

8
pnpm-lock.yaml generated
View File

@@ -14,7 +14,7 @@ importers:
'@astrojs/solid-js':
specifier: ^5.1.3
version: 5.1.3(@types/node@25.0.3)(jiti@2.6.1)(lightningcss@1.30.2)(solid-js@1.9.10)(yaml@2.7.0)
'@fontsource/inter':
'@fontsource-variable/inter':
specifier: ^5.2.8
version: 5.2.8
'@tailwindcss/vite':
@@ -465,8 +465,8 @@ packages:
cpu: [x64]
os: [win32]
'@fontsource/inter@5.2.8':
resolution: {integrity: sha512-P6r5WnJoKiNVV+zvW2xM13gNdFhAEpQ9dQJHt3naLvfg+LkF2ldgSLiF4T41lf1SQCM9QmkqPTn4TH568IRagg==}
'@fontsource-variable/inter@5.2.8':
resolution: {integrity: sha512-kOfP2D+ykbcX/P3IFnokOhVRNoTozo5/JxhAIVYLpea/UBmCQ/YWPBfWIDuBImXX/15KH+eKh4xpEUyS2sQQGQ==}
'@iconify-json/heroicons@1.2.3':
resolution: {integrity: sha512-n+vmCEgTesRsOpp5AB5ILB6srsgsYK+bieoQBNlafvoEhjVXLq8nIGN4B0v/s4DUfa0dOrjwE/cKJgIKdJXOEg==}
@@ -3191,7 +3191,7 @@ snapshots:
'@esbuild/win32-x64@0.25.12':
optional: true
'@fontsource/inter@5.2.8': {}
'@fontsource-variable/inter@5.2.8': {}
'@iconify-json/heroicons@1.2.3':
dependencies:

View File

@@ -3,7 +3,7 @@ import Header from "../components/Header.astro";
import Footer from "../components/Footer.astro";
import { siteConfig } from "../config/site";
import "../styles/global.css";
import "@fontsource/inter";
import "@fontsource-variable/inter";
interface Props {
title?: string;

View File

@@ -41,5 +41,5 @@ html {
}
body {
font-family: 'Inter', system-ui, -apple-system, sans-serif;
font-family: 'Inter Variable', system-ui, -apple-system, sans-serif;
}