theme: everforest palette
Replace the gruvbox palette with everforest, using the "paper" light background (#efe6cd) rather than everforest's stock #fffbef, which read too bright. - gray is remapped to the everforest neutral ramp: 50-300 are the paper background steps, 900/950 the dark canvas (#2d353b / #232a2e). - primary-* variables now carry everforest green (#8da101 light, #a7c080 dark) instead of gruvbox blue. - article prose gets explicit --tw-prose-* / --tw-prose-invert-* overrides. The typography plugin ships Tailwind's own grays, so without this the body copy, headings, rules and code blocks stayed slate on a warm background. - inline code is hardcoded to indigo-500 by the plugin, so it needs a rule of its own; links keep primary-400 via the typography config. - theme-color meta and the logo mark follow the palette. - the 404 button and the active theme-menu chip were white-on-accent, which is unreadable on lime (2.9:1); they now use dark text on primary-500 (5.0:1 light, 7.3:1 dark).
This commit is contained in:
1 parent
abbfa1c0d6
commit
c167cbba28
6 files changed
+87
-37
No files matched your search
@@ -78,7 +78,7 @@ const ThemeSwitch = () => {
|
||||
{({ active }) => (
|
||||
<button
|
||||
className={`${
|
||||
active ? 'bg-primary-600 text-white' : ''
|
||||
active ? 'bg-primary-500 text-gray-950' : ''
|
||||
} group flex w-full items-center rounded-md px-2 py-2 text-sm`}
|
||||
>
|
||||
<div className="mr-2">
|
||||
@@ -94,7 +94,7 @@ const ThemeSwitch = () => {
|
||||
{({ active }) => (
|
||||
<button
|
||||
className={`${
|
||||
active ? 'bg-primary-600 text-white' : ''
|
||||
active ? 'bg-primary-500 text-gray-950' : ''
|
||||
} group flex w-full items-center rounded-md px-2 py-2 text-sm`}
|
||||
>
|
||||
<div className="mr-2">
|
||||
@@ -110,7 +110,7 @@ const ThemeSwitch = () => {
|
||||
{({ active }) => (
|
||||
<button
|
||||
className={`${
|
||||
active ? 'bg-primary-600 text-white' : ''
|
||||
active ? 'bg-primary-500 text-gray-950' : ''
|
||||
} group flex w-full items-center rounded-md px-2 py-2 text-sm`}
|
||||
>
|
||||
<div className="mr-2">
|
||||
|
||||
Reference in new issue
Block a user