Skip to content

Commit a50e9d8

Browse files
add dark protanopia
1 parent 110a26a commit a50e9d8

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

src/tokens/functional/color/control.json5

+2-1
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,8 @@
388388
scopes: ['fgColor'],
389389
},
390390
'org.primer.overrides': {
391-
dark: '{base.color.red.3}'
391+
dark: '{base.color.red.3}',
392+
'dark-protanopia-deuteranopia': '{base.color.orange.3}',
392393
}
393394
},
394395
},

src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5

-10
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,6 @@
44
* @description All overwrites for functional color tokens for dark protanopia and deuteranopia color mode are in this file
55
*/
66
{
7-
control: {
8-
danger: {
9-
fgColor: {
10-
hover: {
11-
$value: '{base.color.orange.3}',
12-
$type: 'color',
13-
},
14-
},
15-
},
16-
},
177
button: {
188
primary: {
199
bgColor: {

0 commit comments

Comments
 (0)