From 2168c66ae701f9b529d5cbedcbd1b9dfe6160657 Mon Sep 17 00:00:00 2001 From: Lukas Oppermann Date: Mon, 18 Nov 2024 11:53:16 +0100 Subject: [PATCH] Add token button-invisible-fgColor-active --- .changeset/hip-mails-remain.md | 5 +++++ .../functional/color/dark/patterns-dark.json5 | 12 ++++++++++++ .../functional/color/light/patterns-light.json5 | 14 +++++++++++++- 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 .changeset/hip-mails-remain.md 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',