theme: gruvbox palette #4

Merged
trex Bot merged 1 commits from theme/gruvbox into main 2026-11-19 13:26:11 -06:00

Replaces the cyan accent and the Tailwind gray ramp with gruvbox.

Accent — primary-* now resolves through CSS variables in css/tailwind.css, because gruvbox uses a different blue per mode (#076678 light, #83a598 dark). A single hex cannot serve both: no colour reaches 4.5:1 on both #fbf1c7 and #282828. The variables flip under .dark, so the existing text-primary-500 hover:text-primary-600 dark:hover:text-primary-400 idiom keeps working with no component edits.

Neutrals — gray is remapped to the gruvbox ramp (light0 → dark0), so page background, headings, muted text, borders and dividers all come from the theme.

Canvas — bg-white → bg-gray-50 in body, header, mobile nav, theme dropdown and the search input, so the page picks up light0 #fbf1c7. Dark canvas is #282828 via the existing dark:bg-gray-950.

Also — theme-color meta and the logo mark follow the palette; the 404 button was hardcoded bg-blue-600 and is now bg-primary-600.

Verified with a local EXPORT=1 UNOPTIMIZED=1 yarn build (same command as CI) and screenshots of the built output in both modes.

Not changed: prose inline code is still indigo-500 (both modes) — it reads slightly cool on cream, say the word and I'll move it to gruvbox purple #b16286.

Replaces the cyan accent and the Tailwind gray ramp with gruvbox. **Accent** — `primary-*` now resolves through CSS variables in `css/tailwind.css`, because gruvbox uses a different blue per mode (`#076678` light, `#83a598` dark). A single hex cannot serve both: no colour reaches 4.5:1 on both `#fbf1c7` and `#282828`. The variables flip under `.dark`, so the existing `text-primary-500 hover:text-primary-600 dark:hover:text-primary-400` idiom keeps working with no component edits. **Neutrals** — `gray` is remapped to the gruvbox ramp (light0 → dark0), so page background, headings, muted text, borders and dividers all come from the theme. **Canvas** — `bg-white` → `bg-gray-50` in body, header, mobile nav, theme dropdown and the search input, so the page picks up light0 `#fbf1c7`. Dark canvas is `#282828` via the existing `dark:bg-gray-950`. **Also** — `theme-color` meta and the logo mark follow the palette; the 404 button was hardcoded `bg-blue-600` and is now `bg-primary-600`. Verified with a local `EXPORT=1 UNOPTIMIZED=1 yarn build` (same command as CI) and screenshots of the built output in both modes. Not changed: prose inline `code` is still `indigo-500` (both modes) — it reads slightly cool on cream, say the word and I'll move it to gruvbox purple `#b16286`.
trex Bot added 1 commit 2026-11-19 12:40:40 -06:00
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.
trex Bot merged commit abbfa1c0d6 into main 2026-11-19 13:26:11 -06:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jblu/jonbio#4