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
+4
-4
@@ -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>
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ export default function NotFound() {
|
||||
<p className="mb-8">But dont worry, you can find plenty of other things on our homepage.</p>
|
||||
<Link
|
||||
href="/"
|
||||
className="focus:shadow-outline-blue inline rounded-lg border border-transparent bg-blue-600 px-4 py-2 text-sm font-medium leading-5 text-white shadow transition-colors duration-150 hover:bg-blue-700 focus:outline-none dark:hover:bg-blue-500"
|
||||
className="focus:shadow-outline-blue inline rounded-lg border border-transparent bg-primary-600 px-4 py-2 text-sm font-medium leading-5 text-white shadow transition-colors duration-150 hover:bg-primary-700 focus:outline-none dark:hover:bg-primary-500"
|
||||
>
|
||||
Back to homepage
|
||||
</Link>
|
||||
|
||||
Reference in new issue
Block a user