Fixed font issues
All checks were successful
Docker Deploy / build-and-push (push) Successful in 3m29s

This commit is contained in:
2026-01-16 10:42:42 -07:00
parent 81723ebdfa
commit 58ae6d5d0c
5 changed files with 11 additions and 14 deletions

View File

@@ -12,6 +12,7 @@
"@astrojs/node": "^9.5.2",
"@astrojs/solid-js": "^5.1.3",
"@fontsource-variable/inter": "^5.2.8",
"@fontsource-variable/roboto-slab": "^5.2.8",
"@tailwindcss/vite": "^4.1.18",
"astro": "^5.16.10",
"astro-icon": "^1.1.5",

8
pnpm-lock.yaml generated
View File

@@ -17,6 +17,9 @@ importers:
'@fontsource-variable/inter':
specifier: ^5.2.8
version: 5.2.8
'@fontsource-variable/roboto-slab':
specifier: ^5.2.8
version: 5.2.8
'@tailwindcss/vite':
specifier: ^4.1.18
version: 4.1.18(vite@6.4.1(@types/node@25.0.9)(jiti@2.6.1)(lightningcss@1.30.2)(yaml@2.7.0))
@@ -468,6 +471,9 @@ packages:
'@fontsource-variable/inter@5.2.8':
resolution: {integrity: sha512-kOfP2D+ykbcX/P3IFnokOhVRNoTozo5/JxhAIVYLpea/UBmCQ/YWPBfWIDuBImXX/15KH+eKh4xpEUyS2sQQGQ==}
'@fontsource-variable/roboto-slab@5.2.8':
resolution: {integrity: sha512-cdvOSwocP50xS01gXqnGxw7uFcCZQgn1IDlqiAmNuZP4uEVScYAKMDC+aWsbP1grn9QdMJ2frhcuVBNXniBVGA==}
'@iconify-json/heroicons@1.2.3':
resolution: {integrity: sha512-n+vmCEgTesRsOpp5AB5ILB6srsgsYK+bieoQBNlafvoEhjVXLq8nIGN4B0v/s4DUfa0dOrjwE/cKJgIKdJXOEg==}
@@ -3178,6 +3184,8 @@ snapshots:
'@fontsource-variable/inter@5.2.8': {}
'@fontsource-variable/roboto-slab@5.2.8': {}
'@iconify-json/heroicons@1.2.3':
dependencies:
'@iconify/types': 2.0.0

View File

@@ -2,6 +2,7 @@
import Header from "../components/Header.astro";
import Footer from "../components/Footer.astro";
import { siteConfig } from "../config/site";
import "@fontsource-variable/roboto-slab";
import "../styles/global.css";
interface Props {

View File

@@ -36,25 +36,12 @@
--noise: 0;
}
@font-face {
font-family: "Roboto Slab";
src: url("../assets/fonts/RobotoSlab-VariableFont_wght.ttf")
format("truetype");
font-weight: 100 900;
font-style: normal;
font-display: optional;
}
html {
scroll-behavior: smooth;
}
body {
font-family:
"Roboto Slab",
system-ui,
-apple-system,
sans-serif;
font-family: "Roboto Slab Variable", serif;
}
.text-rotate:hover,