Skip to content

Commit

Permalink
Fix open state color for colorblind (#1136)
Browse files Browse the repository at this point in the history
* fix open state color for colorbling

* add changeset

* github-actions[bot] Regenerated snapshots

---------

Co-authored-by: lukasoppermann <lukasoppermann@users.noreply.github.com>
  • Loading branch information
lukasoppermann and lukasoppermann authored Dec 18, 2024
1 parent b995538 commit 3e281b1
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .changeset/mean-islands-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/primitives': patch
---

Change open role color from red to blue for colorblind themes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
$type: 'color',
},
open: {
$value: '{base.color.orange.3}',
$value: '{base.color.blue.3}',
$type: 'color',
},
closed: {
Expand Down Expand Up @@ -47,12 +47,12 @@
},
open: {
muted: {
$value: '{base.color.orange.4}',
$value: '{base.color.blue.4}',
$type: 'color',
alpha: 0.2,
},
emphasis: {
$value: '{base.color.orange.5}',
$value: '{base.color.blue.5}',
$type: 'color',
},
},
Expand All @@ -71,12 +71,12 @@
borderColor: {
open: {
muted: {
$value: '{base.color.orange.4}',
$value: '{base.color.blue.4}',
$type: 'color',
alpha: 0.4,
},
emphasis: {
$value: '{base.color.orange.4}',
$value: '{base.color.blue.4}',
$type: 'color',
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
$type: 'color',
},
open: {
$value: '{base.color.orange.5}',
$value: '{base.color.blue.5}',
$type: 'color',
},
closed: {
Expand All @@ -35,11 +35,11 @@
},
open: {
muted: {
$value: '{base.color.orange.0}',
$value: '{base.color.blue.0}',
$type: 'color',
},
emphasis: {
$value: '{base.color.orange.5}',
$value: '{base.color.blue.5}',
$type: 'color',
},
},
Expand Down Expand Up @@ -67,12 +67,12 @@
borderColor: {
open: {
muted: {
$value: '{base.color.orange.3}',
$value: '{base.color.blue.3}',
$type: 'color',
alpha: 0.4,
},
emphasis: {
$value: '{base.color.orange.4}',
$value: '{base.color.blue.4}',
$type: 'color',
},
},
Expand Down

0 comments on commit 3e281b1

Please sign in to comment.