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.
This commit is contained in:
trex Bot committed 2026-11-19 12:40:32 -06:00
1 parent eb0c0ba77b
commit e1733b2db6
10 files changed
+64 -23

No files matched your search

+1 -1
View File
@@ -91,7 +91,7 @@ export default function ListLayout({
type="text"
onChange={(e) => setSearchValue(e.target.value)}
placeholder="Search articles"
className="block w-full rounded-md border border-gray-300 bg-white px-4 py-2 text-gray-900 focus:border-primary-500 focus:ring-primary-500 dark:border-gray-900 dark:bg-gray-800 dark:text-gray-100"
className="block w-full rounded-md border border-gray-300 bg-gray-50 px-4 py-2 text-gray-900 focus:border-primary-500 focus:ring-primary-500 dark:border-gray-900 dark:bg-gray-800 dark:text-gray-100"
/>
</label>
<svg
+1 -1
View File
@@ -83,7 +83,7 @@ export default function ListLayoutWithTags({
</h1>
</div>
<div className="flex sm:space-x-24">
<div className="hidden h-full max-h-screen min-w-[280px] max-w-[280px] flex-wrap overflow-auto rounded bg-gray-50 pt-5 shadow-md dark:bg-gray-900/70 dark:shadow-gray-800/40 sm:flex">
<div className="hidden h-full max-h-screen min-w-[280px] max-w-[280px] flex-wrap overflow-auto rounded bg-gray-100 pt-5 shadow-md dark:bg-gray-900/70 dark:shadow-gray-800/40 sm:flex">
<div className="px-6 py-4">
{pathname.startsWith('/blog') ? (
<h3 className="font-bold uppercase text-primary-500">All Posts</h3>