From 69dab6c3eb8f62d9177dfa6241317705ee9f5749 Mon Sep 17 00:00:00 2001 From: Jakob Scheid Date: Tue, 4 Aug 2026 15:22:48 +0200 Subject: [PATCH] feat(fonts): use Inter --- src/styles/common.css | 1 + src/styles/fonts.json | 33 ++++++++++++++++++++++++++++++++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/src/styles/common.css b/src/styles/common.css index 6625fbd..90988d9 100644 --- a/src/styles/common.css +++ b/src/styles/common.css @@ -19,6 +19,7 @@ body { color: var(--dark); margin: 0; font-size: 16px; + font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; } .link { diff --git a/src/styles/fonts.json b/src/styles/fonts.json index fe51488..ec03111 100644 --- a/src/styles/fonts.json +++ b/src/styles/fonts.json @@ -1 +1,32 @@ -[] +[ + { + "family": "Inter", + "weight": "100 900", + "style": "normal", + "source": [ + { + "url": "fonts/Inter/Inter-Variable.woff2", + "format": "woff2" + }, + { + "url": "fonts/Inter/Inter-Variable.ttf", + "format": "truetype" + } + ] + }, + { + "family": "Inter", + "weight": "100 900", + "style": "italic", + "source": [ + { + "url": "fonts/Inter/Inter-Italic-Variable.woff2", + "format": "woff2" + }, + { + "url": "fonts/Inter/Inter-Italic-Variable.ttf", + "format": "truetype" + } + ] + } +]