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:
1 parent
eb0c0ba77b
commit
e1733b2db6
10 files changed
+64
-23
No files matched your search
@@ -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'
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user