From 519b282246d3fac7aaa22e002071714f6e2bede2 Mon Sep 17 00:00:00 2001 From: Timo Knuth Date: Wed, 6 Aug 2025 13:08:45 +0200 Subject: [PATCH] verbesserungen --- lib/fonts.js | 53 ++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 47 insertions(+), 6 deletions(-) diff --git a/lib/fonts.js b/lib/fonts.js index 4589755..d0bd195 100644 --- a/lib/fonts.js +++ b/lib/fonts.js @@ -62,33 +62,52 @@ import { // Moderne Schriftarten export const montserrat = Montserrat({ subsets: ["latin"], + weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], variable: "--font-montserrat", }); -export const lato = Lato({ subsets: ["latin"], variable: "--font-lato" }); +export const lato = Lato({ + subsets: ["latin"], + weight: ["100", "300", "400", "700", "900"], + variable: "--font-lato", +}); export const raleway = Raleway({ subsets: ["latin"], + weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], variable: "--font-raleway", }); export const poppins = Poppins({ subsets: ["latin"], + weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], variable: "--font-poppins", }); export const openSans = Open_Sans({ subsets: ["latin"], + weight: ["300", "400", "500", "600", "700", "800"], variable: "--font-open-sans", }); -export const roboto = Roboto({ subsets: ["latin"], variable: "--font-roboto" }); +export const roboto = Roboto({ + subsets: ["latin"], + weight: ["100", "300", "400", "500", "700", "900"], + variable: "--font-roboto", +}); export const workSans = Work_Sans({ subsets: ["latin"], + weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], variable: "--font-work-sans", }); export const notoSans = Noto_Sans({ subsets: ["latin"], + weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], variable: "--font-noto-sans", }); -export const jost = Jost({ subsets: ["latin"], variable: "--font-jost" }); +export const jost = Jost({ + subsets: ["latin"], + weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], + variable: "--font-jost", +}); export const quicksand = Quicksand({ subsets: ["latin"], + weight: ["300", "400", "500", "600", "700"], variable: "--font-quicksand", }); export const averiaLibre = Averia_Libre({ @@ -113,9 +132,14 @@ export const sacramento = Sacramento({ weight: "400", variable: "--font-sacramento", }); -export const caveat = Caveat({ subsets: ["latin"], variable: "--font-caveat" }); +export const caveat = Caveat({ + subsets: ["latin"], + weight: "400", + variable: "--font-caveat", +}); export const dancingScript = Dancing_Script({ subsets: ["latin"], + weight: ["400", "500", "600", "700"], variable: "--font-dancing-script", }); export const indieFlower = Indie_Flower({ @@ -125,6 +149,7 @@ export const indieFlower = Indie_Flower({ }); export const amatic = Amatic_SC({ subsets: ["latin"], + weight: "400", variable: "--font-amatic-sc", }); export const kaushan = Kaushan_Script({ @@ -169,11 +194,16 @@ export const courgette = Courgette({ }); export const almendra = Almendra({ subsets: ["latin"], + weight: "400", variable: "--font-almendra", }); // Statement-Schriftarten -export const oswald = Oswald({ subsets: ["latin"], variable: "--font-oswald" }); +export const oswald = Oswald({ + subsets: ["latin"], + weight: ["200", "300", "400", "500", "600", "700"], + variable: "--font-oswald", +}); export const bebasNeue = Bebas_Neue({ subsets: ["latin"], weight: "400", @@ -191,6 +221,7 @@ export const stint = Stint_Ultra_Condensed({ }); export const playfair = Playfair_Display({ subsets: ["latin"], + weight: ["400", "500", "600", "700", "800", "900"], variable: "--font-playfair-display", }); export const abril = Abril_Fatface({ @@ -225,9 +256,14 @@ export const holtwood = Holtwood_One_SC({ }); // Futuristische Schriftarten -export const exo = Exo({ subsets: ["latin"], variable: "--font-exo" }); +export const exo = Exo({ + subsets: ["latin"], + weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], + variable: "--font-exo", +}); export const orbitron = Orbitron({ subsets: ["latin"], + weight: ["400", "500", "600", "700", "800", "900"], variable: "--font-orbitron", }); export const audiowide = Audiowide({ @@ -237,10 +273,12 @@ export const audiowide = Audiowide({ }); export const rajdhani = Rajdhani({ subsets: ["latin"], + weight: ["300", "400", "500", "600", "700"], variable: "--font-rajdhani", }); export const spaceMono = Space_Mono({ subsets: ["latin"], + weight: ["400", "700"], variable: "--font-space-mono", }); export const questrial = Questrial({ @@ -287,10 +325,12 @@ export const metalMania = Metal_Mania({ }); export const alegreya = Alegreya({ subsets: ["latin"], + weight: ["400", "500", "600", "700", "800", "900"], variable: "--font-alegreya", }); export const spectral = Spectral({ subsets: ["latin"], + weight: ["200", "300", "400", "500", "600", "700", "800"], variable: "--font-spectral", }); export const fjallaOne = Fjalla_One({ @@ -305,6 +345,7 @@ export const glassAntiqua = Glass_Antiqua({ }); export const cinzelDecorative = Cinzel_Decorative({ subsets: ["latin"], + weight: "400", variable: "--font-cinzel-decorative", }); export const andika = Andika({