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

+4 -4
View File
@@ -72,11 +72,11 @@ export default function RootLayout({ children }: { children: React.ReactNode })
<link rel="shortcut icon" href="/static/favicons/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/static/favicons/apple-touch-icon.png" />
<link rel="manifest" href="/static/favicons/site.webmanifest" />
<meta name="msapplication-TileColor" content="#000000" />
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#fff" />
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#000" />
<meta name="msapplication-TileColor" content="#282828" />
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#fbf1c7" />
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#282828" />
<link rel="alternate" type="application/rss+xml" href={`${basePath}/feed.xml`} />
<body className="bg-white pl-[calc(100vw-100%)] text-black antialiased dark:bg-gray-950 dark:text-white">
<body className="bg-gray-50 pl-[calc(100vw-100%)] text-gray-900 antialiased dark:bg-gray-950 dark:text-gray-200">
<ThemeProviders>
<Analytics analyticsConfig={siteMetadata.analytics as AnalyticsConfig} />
<SectionContainer>