From c167cbba2874e181155d5b91b062652201c2a879 Mon Sep 17 00:00:00 2001 From: trex Date: Fri, 20 Nov 2026 00:01:19 -0600 Subject: [PATCH] theme: everforest palette Replace the gruvbox palette with everforest, using the "paper" light background (#efe6cd) rather than everforest's stock #fffbef, which read too bright. - gray is remapped to the everforest neutral ramp: 50-300 are the paper background steps, 900/950 the dark canvas (#2d353b / #232a2e). - primary-* variables now carry everforest green (#8da101 light, #a7c080 dark) instead of gruvbox blue. - article prose gets explicit --tw-prose-* / --tw-prose-invert-* overrides. The typography plugin ships Tailwind's own grays, so without this the body copy, headings, rules and code blocks stayed slate on a warm background. - inline code is hardcoded to indigo-500 by the plugin, so it needs a rule of its own; links keep primary-400 via the typography config. - theme-color meta and the logo mark follow the palette. - the 404 button and the active theme-menu chip were white-on-accent, which is unreadable on lime (2.9:1); they now use dark text on primary-500 (5.0:1 light, 7.3:1 dark). --- app/layout.tsx | 6 ++-- app/not-found.tsx | 2 +- components/ThemeSwitch.tsx | 6 ++-- css/tailwind.css | 73 +++++++++++++++++++++++++++++++------- data/logo.svg | 10 +++--- tailwind.config.js | 27 +++++++------- 6 files changed, 87 insertions(+), 37 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index a1bedfd..6f241b4 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -72,9 +72,9 @@ export default function RootLayout({ children }: { children: React.ReactNode }) - - - + + + diff --git a/app/not-found.tsx b/app/not-found.tsx index 0599533..879b69b 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/ThemeSwitch.tsx b/components/ThemeSwitch.tsx index c52c681..7d22ef4 100644 --- a/components/ThemeSwitch.tsx +++ b/components/ThemeSwitch.tsx @@ -78,7 +78,7 @@ const ThemeSwitch = () => { {({ active }) => (