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:
parent
a2465f9359
commit
79f1d09eef
21 changed files with 116 additions and 116 deletions
|
|
@ -24,15 +24,15 @@
|
|||
that arrive as data (page accents, event and region colors) go
|
||||
through withAlpha() and accentText() in src/lib/color.ts. */
|
||||
--color-ink: #001011; /* headings */
|
||||
--color-body: #004552; /* body text */
|
||||
--color-muted: #004c52; /* secondary text, quiet borders */
|
||||
--color-link: #004552; /* links and teal text */
|
||||
--color-brand: #008fa8; /* decoration: borders, rings, rules */
|
||||
--color-action: #004552; /* button fills, under white text */
|
||||
--color-action-hover: #001011;
|
||||
--color-surface: #fcfffd; /* page and cards */
|
||||
--color-tint: #c2f6ff; /* tinted sections and panels */
|
||||
--color-tint-soft: #e8fcfe; /* hover rows, faint panels */
|
||||
--color-body: #003a45; /* body text */
|
||||
--color-muted: #3b5456; /* secondary text, quiet borders */
|
||||
--color-link: #00748a; /* links and teal text */
|
||||
--color-brand: #00748a; /* decoration: borders, rings, rules */
|
||||
--color-action: #00748a; /* button fills, under white text */
|
||||
--color-action-hover: #003a45;
|
||||
--color-surface: #f5f9f8; /* page and cards */
|
||||
--color-tint: #d6f5fa; /* tinted sections and panels */
|
||||
--color-tint-soft: #e8f5f6; /* hover rows, faint panels */
|
||||
--color-danger: #b3261e;
|
||||
--color-danger-tint: #fdf3f2;
|
||||
|
||||
|
|
@ -65,16 +65,16 @@
|
|||
|
||||
@layer base {
|
||||
:root[data-theme="dark"] {
|
||||
--color-ink: #fcfffd;
|
||||
--color-body: #c2f6ff;
|
||||
--color-muted: #aac992;
|
||||
--color-link: #5ce7ff;
|
||||
--color-brand: #008fa8;
|
||||
--color-action: #004c52;
|
||||
--color-action-hover: #004552;
|
||||
--color-ink: #f5f9f8;
|
||||
--color-body: #d6f5fa;
|
||||
--color-muted: #a3b8b9;
|
||||
--color-link: #5cd3e6;
|
||||
--color-brand: #00748a;
|
||||
--color-action: #00748a;
|
||||
--color-action-hover: #003a45;
|
||||
--color-surface: #001011;
|
||||
--color-tint: #004552;
|
||||
--color-tint-soft: #00252b;
|
||||
--color-tint: #003a45;
|
||||
--color-tint-soft: #00222a;
|
||||
--color-danger: #ff8a80;
|
||||
--color-danger-tint: #3b1714;
|
||||
--color-raised: color-mix(in srgb, var(--color-tint) 35%, var(--color-surface));
|
||||
|
|
@ -83,16 +83,16 @@
|
|||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root:not([data-theme="light"]) {
|
||||
--color-ink: #fcfffd;
|
||||
--color-body: #c2f6ff;
|
||||
--color-muted: #aac992;
|
||||
--color-link: #5ce7ff;
|
||||
--color-brand: #008fa8;
|
||||
--color-action: #004c52;
|
||||
--color-action-hover: #004552;
|
||||
--color-ink: #f5f9f8;
|
||||
--color-body: #d6f5fa;
|
||||
--color-muted: #a3b8b9;
|
||||
--color-link: #5cd3e6;
|
||||
--color-brand: #00748a;
|
||||
--color-action: #00748a;
|
||||
--color-action-hover: #003a45;
|
||||
--color-surface: #001011;
|
||||
--color-tint: #004552;
|
||||
--color-tint-soft: #00252b;
|
||||
--color-tint: #003a45;
|
||||
--color-tint-soft: #00222a;
|
||||
--color-danger: #ff8a80;
|
||||
--color-danger-tint: #3b1714;
|
||||
--color-raised: color-mix(in srgb, var(--color-tint) 35%, var(--color-surface));
|
||||
|
|
@ -151,12 +151,12 @@ h1, h2, h3, h4, h5, h6 {
|
|||
transparent background) and would vanish. .logo-plate gives them
|
||||
a small light backing in dark mode only. */
|
||||
:root[data-theme="dark"] .logo-plate {
|
||||
background: #fcfffd;
|
||||
background: #f5f9f8;
|
||||
padding: 0.25rem;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root:not([data-theme="light"]) .logo-plate {
|
||||
background: #fcfffd;
|
||||
background: #f5f9f8;
|
||||
padding: 0.25rem;
|
||||
}
|
||||
}
|
||||
|
|
@ -169,13 +169,13 @@ h1, h2, h3, h4, h5, h6 {
|
|||
:root,
|
||||
:root[data-theme="dark"] {
|
||||
--color-ink: #001011;
|
||||
--color-body: #004552;
|
||||
--color-muted: #004c52;
|
||||
--color-link: #004552;
|
||||
--color-brand: #008fa8;
|
||||
--color-surface: #fcfffd;
|
||||
--color-tint: #c2f6ff;
|
||||
--color-tint-soft: #e8fcfe;
|
||||
--color-body: #003a45;
|
||||
--color-muted: #3b5456;
|
||||
--color-link: #00748a;
|
||||
--color-brand: #00748a;
|
||||
--color-surface: #f5f9f8;
|
||||
--color-tint: #d6f5fa;
|
||||
--color-tint-soft: #e8f5f6;
|
||||
--color-danger: #b3261e;
|
||||
--color-danger-tint: #fdf3f2;
|
||||
--accent-text-mix: 100%;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue