From 506d4be6734364f2b4deb03d31e4a613e4a80c73 Mon Sep 17 00:00:00 2001 From: Lukas Oppermann Date: Sat, 14 Dec 2024 18:43:33 +0100 Subject: [PATCH] dark colorblind --- src/tokens/component/diffBlob.json5 | 6 +- .../dark.protanopia-deuteranopia.json5 | 58 ------------------- 2 files changed, 1 insertion(+), 63 deletions(-) diff --git a/src/tokens/component/diffBlob.json5 b/src/tokens/component/diffBlob.json5 index 88bab5205..eb54a38cd 100644 --- a/src/tokens/component/diffBlob.json5 +++ b/src/tokens/component/diffBlob.json5 @@ -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}', }, }, }, diff --git a/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 b/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 index acc30d816..8dc692f6d 100644 --- a/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +++ b/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 @@ -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: {