Skip to content

Commit 558bdd3

Browse files
fix for colorblind light
1 parent 5d6680a commit 558bdd3

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

src/tokens/functional/shadow/light.json5

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,19 @@
7979
},
8080
],
8181
},
82+
'light-protanopia-deuteranopia': {
83+
$value: [
84+
{
85+
color: '{base.color.blue.9}',
86+
alpha: 0.3,
87+
offsetX: '0px',
88+
offsetY: '1px',
89+
blur: '0px',
90+
spread: '0px',
91+
inset: true,
92+
},
93+
],
94+
},
8295
},
8396
},
8497
},
@@ -128,6 +141,21 @@
128141
collection: 'mode',
129142
group: 'component shadow',
130143
},
144+
'org.primer.overrides': {
145+
'light-protanopia-deuteranopia': {
146+
$value: [
147+
{
148+
color: '{base.color.orange.9}',
149+
alpha: 0.2,
150+
offsetX: '0px',
151+
offsetY: '1px',
152+
blur: '0px',
153+
spread: '0px',
154+
inset: true,
155+
},
156+
],
157+
},
158+
},
131159
},
132160
},
133161
},

0 commit comments

Comments
 (0)