Try the revised palette (teal, green, amber, ink)

The suggested grid as the theme defaults, light and dark, with
PALETTE, the accents (olive becomes amber), the backdrop shades
and every literal from the old grid mapped over. Every text pair
passes the admin's 4.5:1 check; the hero's filled button is amber.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-09-30 16:51:14 -05:00
parent a2465f9359
commit 79f1d09eef
21 changed files with 116 additions and 116 deletions

View file

@ -25,7 +25,7 @@ export default function Banner() {
if (!visible) return null;
const linkClass =
"underline underline-offset-4 decoration-[#aac992] hover:text-white transition-colors";
"underline underline-offset-4 decoration-[#9cc47c] hover:text-white transition-colors";
return (
<div

View file

@ -41,13 +41,13 @@ const Footer_Links = [
];
const footerLinkClass =
"text-white/65 hover:text-[#aac992] text-sm transition-colors";
"text-white/65 hover:text-[#9cc47c] text-sm transition-colors";
const pageLinkClass =
"text-white/80 hover:text-[#aac992] text-sm font-semibold transition-colors";
"text-white/80 hover:text-[#9cc47c] text-sm font-semibold transition-colors";
const sectionLinkClass =
"text-white/65 hover:text-[#aac992] text-sm transition-colors";
"text-white/65 hover:text-[#9cc47c] text-sm transition-colors";
const headingClass = "text-white/90 text-sm font-semibold mb-4";

View file

@ -187,7 +187,7 @@ export default function Layout() {
<nav
className="flex items-center justify-between px-6 py-4"
aria-label="Site"
style={{ background: "rgba(0, 69, 82, 0.92)" }}
style={{ background: "rgba(0, 58, 69, 0.92)" }}
>
<div className="flex items-center gap-8">
<Link to="/" aria-label="Next Generation of Unity home" className="inline-block">
@ -203,7 +203,7 @@ export default function Layout() {
className={({ isActive }) =>
`text-base font-bold pb-1 border-b-2 transition-colors duration-200 ${
isActive
? "text-white border-[#aac992]"
? "text-white border-[#9cc47c]"
: "text-white/75 hover:text-white border-transparent"
}`
}
@ -261,8 +261,8 @@ export default function Layout() {
aria-current={activeSection === section.hash ? "location" : undefined}
className={`text-sm transition-colors duration-200 ${
activeSection === section.hash
? "text-[#aac992]"
: "text-white/75 hover:text-[#aac992]"
? "text-[#9cc47c]"
: "text-white/75 hover:text-[#9cc47c]"
}`}
>
{section.label}
@ -295,7 +295,7 @@ export default function Layout() {
{mobileMenuOpen && (
<div
className="fixed inset-0 z-[60] flex flex-col items-center justify-center overflow-y-auto py-16"
style={{ background: "rgba(0, 69, 82, 0.97)" }}
style={{ background: "rgba(0, 58, 69, 0.97)" }}
role="dialog"
aria-modal="true"
aria-label="Menu"
@ -321,7 +321,7 @@ export default function Layout() {
end={page.path === "/"}
className={({ isActive }) =>
`block text-2xl font-bold py-3 transition-colors ${
isActive ? "text-[#aac992]" : "text-white hover:text-[#c2ffd6]"
isActive ? "text-[#9cc47c]" : "text-white hover:text-[#f0bd4f]"
}`
}
>
@ -338,7 +338,7 @@ export default function Layout() {
<a
key={section.hash}
href={section.hash}
className="text-white/80 text-lg py-2 hover:text-[#c2ffd6] transition-colors"
className="text-white/80 text-lg py-2 hover:text-[#f0bd4f] transition-colors"
onClick={() => setMobileMenuOpen(false)}
>
{section.label}

View file

@ -3,11 +3,11 @@
(PageBackdrop.tsx places them)
Flat fills only: no blur, no gradient, no glow. Light mode uses
the palette's four palest shades at 60%, dark mode its dark
shades (two deepened a step) at 30% over the ink background.
Every text token reads at 4.5:1 or better on each shade even at
full strength, so however many circles overlap, text stays
readable (the lowest, 4.66:1, is the danger red on #004552).
the palette's lightest teal, green and amber at 60%, dark mode
their darkest at 30% over the ink background. Every text token
reads at 4.5:1 or better on each shade even at full strength, so
however many circles overlap, text stays readable (the lowest is
4.62:1, the link teal on the light green).
═══════════════════════════════════════════════════════════════ */
.page-backdrop {
@ -18,10 +18,10 @@
pointer-events: none;
--pb-opacity: 0.6;
--pb-0: #c2f6ff;
--pb-1: #dfebd6;
--pb-2: #c2ffd6;
--pb-3: #c2fbff;
--pb-0: #d6f5fa;
--pb-1: #e6f0dd;
--pb-2: #fdf1d6;
--pb-3: #d6f5fa;
}
/* A circle's place: across by its left, down its layer's whole
@ -71,18 +71,18 @@
toggle's choice, or the system's when there is none. */
:root[data-theme="dark"] .page-backdrop {
--pb-opacity: 0.3;
--pb-0: #004552;
--pb-1: #27371b;
--pb-2: #003f45; /* #004c52 deepened */
--pb-3: #00441a; /* #00521b deepened */
--pb-0: #003a45;
--pb-1: #23361a;
--pb-2: #4a2e00;
--pb-3: #003a45;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) .page-backdrop {
--pb-opacity: 0.3;
--pb-0: #004552;
--pb-1: #27371b;
--pb-2: #003f45; /* #004c52 deepened */
--pb-3: #00441a; /* #00521b deepened */
--pb-0: #003a45;
--pb-1: #23361a;
--pb-2: #4a2e00;
--pb-3: #003a45;
}
}

View file

@ -34,7 +34,7 @@ const MARGIN = 4
/* Dark enough to scan as black; the site's deep teal. */
export const QR_INK = '#001011'
export const QR_PAPER = '#ffffff'
export const QR_DOVE = '#008fa8'
export const QR_DOVE = '#00748a'
/* Badge side as a share of the code's width. */
const BADGE = 0.24

View file

@ -80,7 +80,7 @@ export default function VideoPlayer({
className="block aspect-video w-full object-cover"
/>
) : (
<span className="block aspect-video w-full bg-[#004552]" />
<span className="block aspect-video w-full bg-[#003a45]" />
)}
<span
aria-hidden="true"

View file

@ -111,8 +111,8 @@ const button =
const CHECKER = {
backgroundColor: "#fff",
backgroundImage:
"linear-gradient(45deg,#c2fbff 25%,transparent 25%),linear-gradient(-45deg,#c2fbff 25%,transparent 25%)," +
"linear-gradient(45deg,transparent 75%,#c2fbff 75%),linear-gradient(-45deg,transparent 75%,#c2fbff 75%)",
"linear-gradient(45deg,#f5f9f8 25%,transparent 25%),linear-gradient(-45deg,#f5f9f8 25%,transparent 25%)," +
"linear-gradient(45deg,transparent 75%,#f5f9f8 75%),linear-gradient(-45deg,transparent 75%,#f5f9f8 75%)",
backgroundSize: "12px 12px",
backgroundPosition: "0 0,0 6px,6px -6px,-6px 0",
};

View file

@ -145,7 +145,7 @@ const inputLocked =
else the brand teal. */
function colorPlaceholder(field, row): string {
const own = typeof field.placeholder === "function" ? field.placeholder(row) : field.placeholder;
return own || "#008fa8";
return own || "#00748a";
}
export function getPath(object, path) {