From 821b09fdfc1478b7ee26852aa107897e9f38a56a Mon Sep 17 00:00:00 2001 From: Lewis Dale Date: Sun, 16 Jun 2024 09:55:59 +0100 Subject: [PATCH] Switch font family to make it more readable --- src/css/globals.css | 2 +- tailwind.config.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/css/globals.css b/src/css/globals.css index 4511cad..eb0befa 100644 --- a/src/css/globals.css +++ b/src/css/globals.css @@ -38,7 +38,7 @@ body { background-color: var(--color-secondary); color: var(--color-primary); - font-family: var(--font-family-humanist); + font-family: var(--font-family-geometric); font-size: var(--text-size-s); text-underline-offset: var(--space-size-4xs); } diff --git a/tailwind.config.js b/tailwind.config.js index 051e611..72e46ec 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -49,7 +49,8 @@ module.exports = { sans: ['Avenir', 'Montserrat', 'Corbel', "'URW Gothic'", 'source-sans-pro', 'sans-serif'], mono: ['"Space Grotesk"', ...defaultTheme.fontFamily.mono], humanist: ['Seravek', "'Gill Sans Nova'", 'Ubuntu', 'Calibri', "'DejaVu Sans'", 'source-sans-pro', 'sans-serif'], - neo: ['Inter', 'Roboto', "'Helvetica Neue'", "'Arial Nova'", "'Nimbus Sans'", "'Arial'", 'sans-serif'] + neo: ['Inter', 'Roboto', "'Helvetica Neue'", "'Arial Nova'", "'Nimbus Sans'", "'Arial'", 'sans-serif'], + geometric: ['Avenir', 'Montserrat', 'Corbel', "'URW Gothic'", 'source-sans-pro', 'sans-serif'] }, gap: ({theme}) => ({ none: '0px',