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
@@ -2,6 +2,26 @@
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
/* Gruvbox accent ramp.
|
||||
Gruvbox uses a different blue 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 */
|
||||
}
|
||||
|
||||
.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 */
|
||||
}
|
||||
|
||||
.task-list-item::before {
|
||||
@apply hidden;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user