Makes the outline buttons heidegroen and records where the assets come from
The outline link button (package buttons, 404 and error page, CTAs) is now heidegroen with a filled hover and focus state (contrast 5.7:1 on white, 5.3:1 on paper); the dark ink colour stays only in the back-to-top button. Adds docs/assets-and-licenses.md with the source and licence status per asset. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -21,12 +21,24 @@ const linkButtonRecipe = defineRecipe({
|
||||
},
|
||||
variants: {
|
||||
variant: {
|
||||
// Donkere rand op papier
|
||||
// Heidegroen rand en tekst op papier of wit; bij hover en focus
|
||||
// gevuld met het diepe groen van de accent-variant. accent.deep
|
||||
// haalt als tekst op wit 5.7:1 en op papier ongeveer 5.3:1, en
|
||||
// wit op accent.deep 5.7:1 (WCAG AA). Het donkere ink is alleen
|
||||
// nog voor de terug-naar-boven-knop (besluit Bryan).
|
||||
outline: {
|
||||
borderColor: 'ink',
|
||||
color: 'ink',
|
||||
_hover: { bg: 'ink', color: 'paper' },
|
||||
_focusVisible: { bg: 'ink', color: 'paper' },
|
||||
borderColor: 'accent.deep',
|
||||
color: 'accent.deep',
|
||||
_hover: {
|
||||
bg: 'accent.deep',
|
||||
borderColor: 'accent.deep',
|
||||
color: 'white',
|
||||
},
|
||||
_focusVisible: {
|
||||
bg: 'accent.deep',
|
||||
borderColor: 'accent.deep',
|
||||
color: 'white',
|
||||
},
|
||||
},
|
||||
// Filled with the deep heidegroen: white on the design's lighter
|
||||
// accent is only 3.58:1, on accent.deep about 5.7:1 (WCAG AA)
|
||||
|
||||
Reference in New Issue
Block a user