Skip to content

Commit

Permalink
dark colorblind
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann committed Dec 14, 2024
1 parent 05cf43e commit 506d4be
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 63 deletions.
6 changes: 1 addition & 5 deletions src/tokens/component/diffBlob.json5
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,7 @@
'org.primer.overrides': {
'light-high-contrast': '{fgColor.onEmphasis}',
'dark-high-contrast': '{base.neutral.12}',
'dark-colorblind': '{base.neutral.12}',
'dark-protanopia-deuteranopia': {
$value: '{base.color.orange.4}',
alpha: 0.4,
},
'dark-protanopia-deuteranopia': '{base.neutral.12}',
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,64 +186,6 @@
},
},
},
diffBlob: {
additionNum: {
bgColor: {
$value: '{base.color.blue.3}',
$type: 'color',
alpha: 0.3,
},
},
additionWord: {
bgColor: {
$value: '{base.color.blue.4}',
$type: 'color',
alpha: 0.4,
},
},
deletionNum: {
bgColor: {
$value: '{base.color.orange.4}',
$type: 'color',
alpha: 0.3,
},
},
deletionLine: {
bgColor: {
$value: '{base.color.orange.4}',
$type: 'color',
alpha: 0.15,
},
},
deletionWord: {
bgColor: {
$value: '{base.color.orange.4}',
$type: 'color',
alpha: 0.4,
},
},
hunkNum: {
bgColor: {
rest: {
$value: '{base.color.neutral.6}',
$type: 'color',
alpha: 1,
},
hover: {
$value: '{base.color.neutral.8}',
$type: 'color',
alpha: 1,
},
},
},
hunkLine: {
bgColor: {
$value: '{base.color.neutral.3}',
$type: 'color',
alpha: 1,
},
},
},
color: {
ansi: {
green: {
Expand Down

0 comments on commit 506d4be

Please sign in to comment.