From c5f409c6a67d6c6f87be4b19748e69f5580bd3c9 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Mon, 21 Jul 2025 10:15:12 +0000 Subject: [PATCH] Use Nunito font for headings Configure Nunito font for all headings. --- index.html | 2 +- src/index.css | 5 +++++ tailwind.config.ts | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 058c98d..ee10e1c 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,7 @@ - + diff --git a/src/index.css b/src/index.css index afe2aa9..b592fcc 100644 --- a/src/index.css +++ b/src/index.css @@ -126,4 +126,9 @@ All colors MUST be HSL. body { @apply bg-background text-foreground; } + + /* Apply Nunito to all headings */ + h1, h2, h3, h4, h5, h6 { + @apply font-heading; + } } \ No newline at end of file diff --git a/tailwind.config.ts b/tailwind.config.ts index a518b4e..9d2ab45 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -103,7 +103,8 @@ export default { 'accordion-up': 'accordion-up 0.2s ease-out' }, fontFamily: { - 'sans': ['Lato', 'ui-sans-serif', 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif'] + 'sans': ['Lato', 'ui-sans-serif', 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif'], + 'heading': ['Nunito', 'ui-sans-serif', 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif'] } } },