From 125a3967f6f042f64ee3b9ac308ecac2558161f8 Mon Sep 17 00:00:00 2001 From: Lewis Dale Date: Mon, 29 Jan 2024 08:18:22 +0000 Subject: [PATCH] Replace font stack with modern font stack --- src/css/globals.css | 2 +- tailwind.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/css/globals.css b/src/css/globals.css index f13762a..ed2ad91 100644 --- a/src/css/globals.css +++ b/src/css/globals.css @@ -59,7 +59,7 @@ body { background-color: var(--color-secondary); color: var(--color-primary); - font-family: var(--font-family-mono); + font-family: var(--font-family-sans); font-size: var(--text-size-s); text-underline-offset: var(--space-size-4xs); } diff --git a/tailwind.config.js b/tailwind.config.js index 59086c7..abd28c5 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -40,7 +40,7 @@ module.exports = { 'size-3xl': 'clamp(2.49rem, calc(1.09rem + 7.00vw), 9.49rem)', }, fontFamily: { - sans: defaultTheme.fontFamily.sans, + sans: ['Avenir', 'Montserrat', 'Corbel', "'URW Gothic'", 'source-sans-pro', 'sans-serif'], mono: ['"Space Grotesk"', ...defaultTheme.fontFamily.mono], }, gap: ({theme}) => ({