Skip to content

Commit

Permalink
Add token button-invisible-fgColor-active
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann committed Nov 18, 2024
1 parent 9f10334 commit 2168c66
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/hip-mails-remain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/primitives': patch
---

Add token button-invisible-fgColor-active
12 changes: 12 additions & 0 deletions src/tokens/functional/color/dark/patterns-dark.json5
Original file line number Diff line number Diff line change
Expand Up @@ -1087,6 +1087,18 @@
},
},
},
active: {
$value: '{control.fgColor.rest}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'component (internal)',
scopes: ['fgColor'],
},
},
},
disabled: {
$value: '{control.fgColor.disabled}',
$type: 'color',
Expand Down
14 changes: 13 additions & 1 deletion src/tokens/functional/color/light/patterns-light.json5
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@
scopes: ['bgColor'],
},
},
}
},
},
},
button: {
Expand Down Expand Up @@ -1079,6 +1079,18 @@
},
},
},
active: {
$value: '{control.fgColor.rest}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'light',
group: 'component (internal)',
scopes: ['fgColor'],
},
},
},
disabled: {
$value: '{control.fgColor.disabled}',
$type: 'color',
Expand Down

0 comments on commit 2168c66

Please sign in to comment.