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
|
|
@ -48,31 +48,31 @@ export const BRAND = 'var(--color-action)'
|
|||
|
||||
export const ACCENTS = {
|
||||
teal: BRAND,
|
||||
deep: '#004c52',
|
||||
green: '#00521b',
|
||||
olive: '#27371b',
|
||||
deep: '#003a45',
|
||||
green: '#4a7431',
|
||||
amber: '#8f5b00',
|
||||
}
|
||||
|
||||
/* ── The palette ─────────────────────────────────────────────────
|
||||
The site's 16 colors: four families, each a column of the grid
|
||||
(its primary first). The theme tokens above are chosen from these;
|
||||
so is anything drawn from the palette as data (a person's initials
|
||||
tile, the page background, the admin home's sections). Light
|
||||
shades are for fills behind text, dark shades for text and fills
|
||||
under white text; the primaries are for decoration only (#008fa8
|
||||
is 3.8:1 on the page, #88b668 2.3:1). */
|
||||
The site's 16 colors: four families, each [main, darkest, light,
|
||||
lightest]. The theme tokens above are chosen from these; so is
|
||||
anything drawn from the palette as data (a person's initials
|
||||
tile, the page background, the admin home's sections). Each main
|
||||
shade reads as text on white and takes white text on it (5:1 or
|
||||
better); the darkest are for text, the light and lightest for
|
||||
fills behind text. */
|
||||
export const PALETTE = {
|
||||
teal: ['#008fa8', '#004552', '#5ce7ff', '#c2f6ff'],
|
||||
green: ['#88b668', '#dfebd6', '#aac992', '#27371b'],
|
||||
mint: ['#fcfffd', '#c2ffd6', '#00b83d', '#00521b'],
|
||||
ink: ['#001011', '#004c52', '#5cf4ff', '#c2fbff'],
|
||||
teal: ['#00748a', '#003a45', '#5cd3e6', '#d6f5fa'],
|
||||
green: ['#4a7431', '#23361a', '#9cc47c', '#e6f0dd'],
|
||||
amber: ['#8f5b00', '#4a2e00', '#f0bd4f', '#fdf1d6'],
|
||||
ink: ['#3b5456', '#001011', '#a3b8b9', '#f5f9f8'],
|
||||
} as const
|
||||
|
||||
/* Fills that take the page's ink text (#001011, 15:1 or better) and
|
||||
fills that take white text (9:1 or better), for things colored
|
||||
/* Fills that take the page's ink text (#001011, 9:1 or better) and
|
||||
fills that take white text (5:1 or better), for things colored
|
||||
from the palette by data, like an initials tile. */
|
||||
export const PALETTE_LIGHT = ['#c2f6ff', '#dfebd6', '#c2ffd6', '#c2fbff', '#aac992', '#5ce7ff'] as const
|
||||
export const PALETTE_DARK = ['#004552', '#27371b', '#00521b', '#004c52'] as const
|
||||
export const PALETTE_LIGHT = ['#d6f5fa', '#e6f0dd', '#fdf1d6', '#f0bd4f', '#9cc47c', '#5cd3e6'] as const
|
||||
export const PALETTE_DARK = ['#003a45', '#23361a', '#4a2e00', '#00748a', '#4a7431', '#8f5b00', '#3b5456'] as const
|
||||
|
||||
/* A palette fill for something colored by its name, like the
|
||||
initials tile of a person with no photo: the same name always gets
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue