diff --git a/.changeset/hip-mails-remain.md b/.changeset/hip-mails-remain.md new file mode 100644 index 000000000..0774e333e --- /dev/null +++ b/.changeset/hip-mails-remain.md @@ -0,0 +1,5 @@ +--- +'@primer/primitives': patch +--- + +Add token button-invisible-fgColor-active diff --git a/src/tokens/functional/color/dark/patterns-dark.json5 b/src/tokens/functional/color/dark/patterns-dark.json5 index 8e4e82456..ed6c3c2c8 100644 --- a/src/tokens/functional/color/dark/patterns-dark.json5 +++ b/src/tokens/functional/color/dark/patterns-dark.json5 @@ -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', diff --git a/src/tokens/functional/color/light/patterns-light.json5 b/src/tokens/functional/color/light/patterns-light.json5 index 934d1ecff..fed0caf3f 100644 --- a/src/tokens/functional/color/light/patterns-light.json5 +++ b/src/tokens/functional/color/light/patterns-light.json5 @@ -772,7 +772,7 @@ scopes: ['bgColor'], }, }, - } + }, }, }, button: { @@ -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',