diff --git a/app/globals.css b/app/globals.css
index 11e61fc..4f245ce 100644
--- a/app/globals.css
+++ b/app/globals.css
@@ -20,18 +20,18 @@
theme, so dark text is always the right call for it. */
--on-accent: #ffffff;
--on-accent-orange: #1a1a1a;
- /* Fixed (non-theme-dependent) blue used for the small number of buttons
- that are deliberately "the blue button" as opposed to "the theme's
- highlight color" (e.g. distinguishing two CTAs from each other on the
- same page). Unlike --accent, this never changes with the theme -
- Xanga's --accent is bright orange, so reusing --accent here would make
- a "blue" button render orange and become indistinguishable from an
- orange one. Deliberately not overridden in the dark/Xanga blocks below
- so every theme gets the same value. Dark enough that white text always
- has sufficient contrast on it. */
- --accent-blue: #1170aa;
- --accent-blue-hover: #0d5a88;
- --on-accent-blue: #ffffff;
+ /* Shared "primary CTA" color, used by every solid gradient button
+ (.gradient-btn) so all of them agree on one hue per theme instead of
+ mixing blue and orange buttons on the same page. Light mode's --accent
+ is a dark, saturated blue that reads well with white text, so primary
+ buttons stay blue here; dark and Xanga both lean on the bright orange
+ instead (see overrides below), since dark mode's --accent is a lighter
+ blue that needs a dark-text workaround, and Xanga's --accent already
+ *is* the orange. */
+ --btn-primary-from: var(--accent);
+ --btn-primary-to: var(--accent-hover);
+ --btn-primary-text: var(--on-accent);
+ --btn-primary-shadow-rgb: 17, 112, 170;
--border: #c8d0d9; /* Very Light Gray from palette */
--link: #1170aa; /* Dark Blue for links */
--link-hover: #fc7d0b; /* Bright Orange for link hover */
@@ -58,6 +58,12 @@
contrast - use dark text instead. */
--on-accent: #0b1220;
--on-accent-orange: #1a1a1a;
+ /* Primary buttons switch to orange in dark mode - see the --btn-primary-*
+ comment in :root above. */
+ --btn-primary-from: var(--accent-orange);
+ --btn-primary-to: var(--accent-orange-hover);
+ --btn-primary-text: var(--on-accent-orange);
+ --btn-primary-shadow-rgb: 252, 125, 11;
--border: #57606c; /* Dark Gray from palette */
--link: #5fa2ce; /* Medium Blue for links */
--link-hover: #fc7d0b; /* Bright Orange for link hover */
@@ -86,6 +92,12 @@
needs dark text too. */
--on-accent: #0a0a0a;
--on-accent-orange: #1a1a1a;
+ /* Primary buttons stay orange in Xanga too - it's already the theme's
+ dominant highlight color, same rationale as dark mode above. */
+ --btn-primary-from: var(--accent);
+ --btn-primary-to: var(--accent-hover);
+ --btn-primary-text: var(--on-accent-orange);
+ --btn-primary-shadow-rgb: 252, 125, 11;
--border: #fc7d0b; /* Tableau Bright Orange */
--border-navy: #1170aa; /* Tableau Dark Blue */
--link: #5fa2ce; /* Tableau Medium Blue */
@@ -270,15 +282,20 @@ html[data-theme="xanga"] body header nav a:focus-visible * {
on top of that background. This is deliberately not scoped to "header"
only: the mobile nav menu is a sibling of
{/* Bottom border accent with gradient */}
-
+
@@ -238,7 +238,7 @@ export default function Home() {