Skip to content

Commit

Permalink
Fix primary button text color (#833)
Browse files Browse the repository at this point in the history
* fg color primary button

* Create strong-gorillas-boil.md
  • Loading branch information
langermank authored Mar 14, 2024
1 parent d9ffc07 commit 3213393
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/strong-gorillas-boil.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/primitives": patch
---

Change `primary` button text color to pure white instead of scale white (impact dark_dimmed)
4 changes: 2 additions & 2 deletions src/tokens/functional/color/dark/patterns-dark.json5
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@
primary: {
fgColor: {
rest: {
$value: '{base.color.white}',
$value: '{fgColor.white}',
$type: 'color',
$extensions: {
'org.primer.figma': {
Expand All @@ -937,7 +937,7 @@
},
iconColor: {
rest: {
$value: '{base.color.white}',
$value: '{fgColor.white}',
$type: 'color',
$extensions: {
'org.primer.figma': {
Expand Down
4 changes: 2 additions & 2 deletions src/tokens/functional/color/light/patterns-light.json5
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@
primary: {
fgColor: {
rest: {
$value: '{base.color.white}',
$value: '{fgColor.white}',
$type: 'color',
$extensions: {
'org.primer.figma': {
Expand All @@ -928,7 +928,7 @@
},
iconColor: {
rest: {
$value: '{base.color.white}',
$value: '{fgColor.white}',
$type: 'color',
$extensions: {
'org.primer.figma': {
Expand Down

0 comments on commit 3213393

Please sign in to comment.