diff --git a/css/tailwind.css b/css/tailwind.css
index 7e61ca5..89a3c4a 100644
--- a/css/tailwind.css
+++ b/css/tailwind.css
@@ -2,24 +2,73 @@
@tailwind components;
@tailwind utilities;
-/* Gruvbox accent ramp.
- Gruvbox uses a different blue for light and dark, so the primary-* utilities
+/* Everforest accent ramp.
+ Everforest uses a different green for light and dark, so the primary-* utilities
resolve through these variables instead of fixed hexes. `.dark` must stay
after `:root` — same specificity, so source order decides. */
:root {
- --primary-300: 168 196 184; /* #a8c4b8 — derived lighten of bright_blue */
- --primary-400: 131 165 152; /* #83a598 — bright_blue */
- --primary-500: 7 102 120; /* #076678 — faded_blue */
- --primary-600: 5 74 86; /* #054a56 — derived darken of faded_blue */
- --primary-700: 4 58 68; /* #043a44 — derived darken of faded_blue */
+ --primary-300: 182 196 106; /* #b6c46a — derived lighten of green */
+ --primary-400: 161 178 67; /* #a1b243 — derived */
+ --primary-500: 141 161 1; /* #8da101 — green */
+ --primary-600: 116 133 10; /* #74850a — derived darken */
+ --primary-700: 92 106 8; /* #5c6a08 — derived darken */
}
.dark {
- --primary-300: 168 196 184; /* #a8c4b8 */
- --primary-400: 168 196 184; /* #a8c4b8 — hover in dark */
- --primary-500: 131 165 152; /* #83a598 — resting link in dark */
- --primary-600: 7 102 120; /* #076678 — active chip in the theme menu */
- --primary-700: 7 102 120; /* #076678 */
+ --primary-300: 195 214 164; /* #c3d6a4 — derived lighten of aqua */
+ --primary-400: 167 192 128; /* #a7c080 — aqua, hover in dark */
+ --primary-500: 167 192 128; /* #a7c080 — resting link in dark */
+ --primary-600: 141 161 1; /* #8da101 — active chip in the theme menu */
+ --primary-700: 116 133 10; /* #74850a */
+}
+
+/* Article prose. The typography plugin ships Tailwind's own grays as
+ --tw-prose-* defaults, so a palette swap has to override them too — otherwise
+ body copy, headings, rules and code blocks stay slate on a warm background. */
+.prose {
+ --tw-prose-body: #475258;
+ --tw-prose-headings: #2d353b;
+ --tw-prose-lead: #5c6a72;
+ --tw-prose-links: #2d353b;
+ --tw-prose-bold: #2d353b;
+ --tw-prose-counters: #7a8471;
+ --tw-prose-bullets: #d3caac;
+ --tw-prose-hr: #e0d7ba;
+ --tw-prose-quotes: #2d353b;
+ --tw-prose-quote-borders: #e0d7ba;
+ --tw-prose-captions: #7a8471;
+ --tw-prose-kbd: #2d353b;
+ --tw-prose-kbd-shadows: 45 53 59;
+ --tw-prose-code: #8da101;
+ --tw-prose-pre-code: #e8dfc3;
+ --tw-prose-pre-bg: #2d353b;
+ --tw-prose-th-borders: #d3caac;
+ --tw-prose-td-borders: #e0d7ba;
+ --tw-prose-invert-body: #d3caac;
+ --tw-prose-invert-headings: #e8dfc3;
+ --tw-prose-invert-lead: #939f91;
+ --tw-prose-invert-links: #e8dfc3;
+ --tw-prose-invert-bold: #e8dfc3;
+ --tw-prose-invert-counters: #939f91;
+ --tw-prose-invert-bullets: #475258;
+ --tw-prose-invert-hr: #3d484d;
+ --tw-prose-invert-quotes: #e8dfc3;
+ --tw-prose-invert-quote-borders: #3d484d;
+ --tw-prose-invert-captions: #939f91;
+ --tw-prose-invert-kbd: #e8dfc3;
+ --tw-prose-invert-kbd-shadows: 232 223 195;
+ --tw-prose-invert-code: #a7c080;
+ --tw-prose-invert-pre-code: #d3caac;
+ --tw-prose-invert-pre-bg: #232a2e;
+ --tw-prose-invert-th-borders: #475258;
+ --tw-prose-invert-td-borders: #3d484d;
+}
+
+/* The plugin hardcodes indigo-500 for inline code instead of using
+ --tw-prose-code, so it needs an explicit override. Links keep their own
+ accent (primary-400) via the typography config. */
+.prose :where(code):not(:where([class~='not-prose'], [class~='not-prose'] *, a *)) {
+ color: rgb(var(--primary-500));
}
.task-list-item::before {
diff --git a/data/logo.svg b/data/logo.svg
index 83014b9..24f97dc 100644
--- a/data/logo.svg
+++ b/data/logo.svg
@@ -1,8 +1,8 @@
diff --git a/tailwind.config.js b/tailwind.config.js
index 9f519ff..acf7638 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -25,7 +25,7 @@ module.exports = {
sans: ['var(--font-space-grotesk)', ...fontFamily.sans],
},
colors: {
- // Gruvbox accent (blue). Light and dark use different gruvbox blues, so the
+ // Everforest accent (green). Light and dark use different greens, so the
// ramp resolves through CSS variables that flip under `.dark` — see css/tailwind.css.
primary: {
300: 'rgb(var(--primary-300) /
)',
@@ -34,19 +34,20 @@ module.exports = {
600: 'rgb(var(--primary-600) / )',
700: 'rgb(var(--primary-700) / )',
},
- // Gruvbox neutral ramp (light0 → dark0) mapped onto Tailwind's 50–950 steps.
+ // Everforest neutral ramp (bg0 → bg-dim) mapped onto Tailwind's 50–950 steps.
+ // 50–300 are the "paper" light background; 900/950 are the dark canvas.
gray: {
- 50: '#fbf1c7', // light0
- 100: '#f2e5bc', // light0_soft
- 200: '#ebdbb2', // light1
- 300: '#d5c4a1', // light2
- 400: '#a89984', // light4
- 500: '#7c6f64', // dark4
- 600: '#665c54', // dark3
- 700: '#504945', // dark2
- 800: '#3c3836', // dark1
- 900: '#32302f', // dark0_soft
- 950: '#282828', // dark0
+ 50: '#efe6cd', // bg0 (paper)
+ 100: '#e8dfc3', // bg1
+ 200: '#e0d7ba', // bg2
+ 300: '#d3caac', // bg3
+ 400: '#939f91', // fg (muted)
+ 500: '#7a8471', // grey1
+ 600: '#5c6a72', // grey0
+ 700: '#475258', // fg dark
+ 800: '#3d484d', // bg5
+ 900: '#2d353b', // bg0 dark
+ 950: '#232a2e', // bg-dim
},
},
zIndex: {