From b3c05181db6be04f61c740b7ba5627dc5f79193e Mon Sep 17 00:00:00 2001 From: Lukas Oppermann Date: Thu, 16 Jan 2025 15:26:13 +0100 Subject: [PATCH] fix for fgColor open to be same as success for tritanopia --- .changeset/famous-masks-itch.md | 5 +++++ src/tokens/functional/color/fgColor.json5 | 6 ------ 2 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 .changeset/famous-masks-itch.md diff --git a/.changeset/famous-masks-itch.md b/.changeset/famous-masks-itch.md new file mode 100644 index 000000000..ca3c9f2bf --- /dev/null +++ b/.changeset/famous-masks-itch.md @@ -0,0 +1,5 @@ +--- +'@primer/primitives': patch +--- + +Fix a11y border issue for dark colorblind and adjust tritanopia open color to be the same as success diff --git a/src/tokens/functional/color/fgColor.json5 b/src/tokens/functional/color/fgColor.json5 index 0965ee500..569b62c0b 100644 --- a/src/tokens/functional/color/fgColor.json5 +++ b/src/tokens/functional/color/fgColor.json5 @@ -198,12 +198,6 @@ web: 'var(--fgColor-open) /* utility class: .color-fg-open */', }, }, - 'org.primer.overrides': { - "dark-protanopia-deuteranopia": '{base.color.blue.3}', - 'light-protanopia-deuteranopia': '{base.color.blue.5}', - "dark-tritanopia": '{base.color.red.4}', - "light-tritanopia": '{base.color.red.5}', - }, }, }, attention: {