Skip to content

Commit

Permalink
light tritanopia
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann committed Dec 20, 2024
1 parent 74ff916 commit b40f0c2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 53 deletions.
26 changes: 19 additions & 7 deletions src/tokens/functional/color/borderColor.json5
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@
$value: '{base.color.blue.4}',
alpha: 0.4,
},
'light-tritanopia': {
$value: '{base.color.blue.3}',
alpha: 0.4,
},
'dark-protanopia-deuteranopia': {
$value: '{base.color.blue.4}',
},
Expand All @@ -245,10 +249,8 @@
},
},
'org.primer.overrides': {
'dark-tritanopia': {
$value: '{base.color.blue.5}',
$type: 'color',
},
'dark-tritanopia': '{base.color.blue.5}',
'light-tritanopia': '{base.color.blue.5}',
},
},
},
Expand All @@ -271,6 +273,10 @@
$value: '{base.color.red.4}',
alpha: 0.4,
},
'light-tritanopia': {
$value: '{base.color.red.3}',
alpha: 0.4,
},
},
},
},
Expand All @@ -288,6 +294,7 @@
},
'org.primer.overrides': {
'dark-tritanopia': '{base.color.red.5}',
'light-tritanopia': '{base.color.red.5}',
},
},
},
Expand Down Expand Up @@ -357,9 +364,8 @@
$value: '{base.color.orange.4}',
alpha: 1,
},
'dark-tritanopia': {
$value: '{base.color.red.4}',
},
'dark-tritanopia': '{base.color.red.4}',
'light-tritanopia': '{base.color.red.3}',
},
},
alpha: 0.4,
Expand All @@ -378,6 +384,7 @@
},
'org.primer.overrides': {
'dark-tritanopia': '{base.color.red.5}',
'light-tritanopia': '{base.color.red.5}',
},
},
},
Expand Down Expand Up @@ -461,6 +468,10 @@
$value: '{borderColor.default}',
alpha: 0.4,
},
'light-tritanopia': {
$value: '{borderColor.default}',
alpha: 0.4,
},
},
},
},
Expand All @@ -479,6 +490,7 @@
'org.primer.overrides': {
'light-protanopia-deutranopia': '{borderColor.emphasis}',
'dark-tritanopia': '{borderColor.emphasis}',
'light-tritanopia': '{borderColor.emphasis}',
},
},
},
Expand Down
46 changes: 0 additions & 46 deletions src/tokens/functional/color/light/overrides/light.tritanopia.json5
Original file line number Diff line number Diff line change
Expand Up @@ -64,52 +64,6 @@
},
},
},
borderColor: {
success: {
muted: {
$value: '{base.color.blue.3}',
$type: 'color',
alpha: 0.4,
},
emphasis: {
$value: '{base.color.blue.5}',
$type: 'color',
},
},
severe: {
muted: {
$value: '{base.color.red.3}',
$type: 'color',
alpha: 0.4,
},
emphasis: {
$value: '{base.color.red.5}',
$type: 'color',
},
},
open: {
muted: {
$value: '{base.color.red.3}',
$type: 'color',
alpha: 0.4,
},
emphasis: {
$value: '{base.color.red.5}',
$type: 'color',
},
},
closed: {
muted: {
$value: '{borderColor.default}',
$type: 'color',
alpha: 0.4,
},
emphasis: {
$value: '{borderColor.emphasis}',
$type: 'color',
},
},
},
codeMirror: {
syntax: {
fgColor: {
Expand Down

0 comments on commit b40f0c2

Please sign in to comment.