Skip to content

Commit 59be710

Browse files
authoredMar 7, 2024··
Fix danger fgColor high contrast dark (#827)
* fix fg color * Create brown-lobsters-scream.md * fix token
1 parent f959cc7 commit 59be710

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed
 

‎.changeset/brown-lobsters-scream.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/primitives": patch
3+
---
4+
5+
Fix `danger` `fgColor` high contrast dark for button

‎src/tokens/functional/color/dark/overrides/dark.high-contrast.json5

+16
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,22 @@
272272
},
273273
},
274274
},
275+
danger: {
276+
fgColor: {
277+
rest: {
278+
$value: '{base.color.red.3}',
279+
$type: 'color',
280+
$extensions: {
281+
'org.primer.figma': {
282+
collection: 'mode',
283+
mode: 'light',
284+
group: 'component (internal)',
285+
scopes: ['fgColor'],
286+
},
287+
},
288+
},
289+
},
290+
},
275291
},
276292
buttonCounter: {
277293
primary: {

0 commit comments

Comments
 (0)
Please sign in to comment.