From f6e41fab6463c278bb38bb632945ad140a13a216 Mon Sep 17 00:00:00 2001 From: GauthierWebDev Date: Fri, 18 Apr 2025 12:49:28 +0200 Subject: [PATCH] style: Update font families in vite.config.ts --- app/layouts/LayoutDefault.tsx | 2 +- app/vite.config.ts | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/app/layouts/LayoutDefault.tsx b/app/layouts/LayoutDefault.tsx index b7c9760..f784685 100644 --- a/app/layouts/LayoutDefault.tsx +++ b/app/layouts/LayoutDefault.tsx @@ -80,7 +80,7 @@ export default function DefaultLayout({ children }: { children: React.ReactNode return ( -
+
{isHomePage && } diff --git a/app/vite.config.ts b/app/vite.config.ts index 46b0c07..1054437 100644 --- a/app/vite.config.ts +++ b/app/vite.config.ts @@ -13,7 +13,20 @@ export default defineConfig({ }), Unfonts({ fontsource: { - families: ["Inter Variable", "Lexend Variable"], + families: [ + { + name: "Lexend Variable", + weights: [400], + styles: ["normal"], + subset: "latin", + }, + { + name: "Inter Variable", + weights: [400, 500, 600, 700], + styles: ["normal"], + subset: "latin", + }, + ], }, }), vike({}),