From e1733b2db6a0f18d99be2d5b1805bcab829bc572 Mon Sep 17 00:00:00 2001 From: trex Date: Thu, 19 Nov 2026 12:40:32 -0600 Subject: [PATCH] theme: gruvbox palette Replace the cyan accent and Tailwind gray ramp with gruvbox. - primary-* now resolves through CSS variables (css/tailwind.css) because gruvbox uses a different blue for light (#076678) and dark (#83a598); a single hex cannot serve both modes. - gray is remapped to the gruvbox neutral ramp (light0 -> dark0), so page background, headings, muted text and borders all come from the theme. - body/header/mobile-nav/dropdown/search use bg-gray-50 instead of bg-white so the canvas picks up light0 (#fbf1c7). - theme-color meta and the logo mark follow the palette. - 404 button was hardcoded bg-blue-600; now bg-primary-600. --- app/layout.tsx | 8 ++++---- app/not-found.tsx | 2 +- components/Header.tsx | 2 +- components/MobileNav.tsx | 2 +- components/ThemeSwitch.tsx | 2 +- css/tailwind.css | 20 ++++++++++++++++++ data/logo.svg | 10 ++++----- layouts/ListLayout.tsx | 2 +- layouts/ListLayoutWithTags.tsx | 2 +- tailwind.config.js | 37 ++++++++++++++++++++++++++-------- 10 files changed, 64 insertions(+), 23 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index f6cf324..a1bedfd 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -72,11 +72,11 @@ export default function RootLayout({ children }: { children: React.ReactNode }) - - - + + + - + diff --git a/app/not-found.tsx b/app/not-found.tsx index 6eb0c5b..0599533 100644 --- a/app/not-found.tsx +++ b/app/not-found.tsx @@ -15,7 +15,7 @@ export default function NotFound() {

But dont worry, you can find plenty of other things on our homepage.

Back to homepage diff --git a/components/Header.tsx b/components/Header.tsx index 387276e..301546b 100644 --- a/components/Header.tsx +++ b/components/Header.tsx @@ -7,7 +7,7 @@ import ThemeSwitch from './ThemeSwitch' import SearchButton from './SearchButton' const Header = () => { - let headerClass = 'flex items-center w-full bg-white dark:bg-gray-950 justify-between py-10' + let headerClass = 'flex items-center w-full bg-gray-50 dark:bg-gray-950 justify-between py-10' if (siteMetadata.stickyNav) { headerClass += ' sticky top-0 z-50' } diff --git a/components/MobileNav.tsx b/components/MobileNav.tsx index a7770a5..d7ecb42 100644 --- a/components/MobileNav.tsx +++ b/components/MobileNav.tsx @@ -67,7 +67,7 @@ const MobileNav = () => { leaveTo="translate-x-full opacity-0" unmount={false} > - +