From 075b9b18fc453fb3b7ebc101b1d9a2ddd070a8d9 Mon Sep 17 00:00:00 2001 From: Simone Vittori Date: Wed, 3 Jul 2024 16:44:18 +0100 Subject: [PATCH] Another fix --- .../color/light/primitives-light.json5 | 28 +++++++++---------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/src/tokens/functional/color/light/primitives-light.json5 b/src/tokens/functional/color/light/primitives-light.json5 index 7ec366d10..e876192a1 100644 --- a/src/tokens/functional/color/light/primitives-light.json5 +++ b/src/tokens/functional/color/light/primitives-light.json5 @@ -128,24 +128,22 @@ }, }, success: { - '@': { - $value: '{prov.color.green.5}', - $type: 'color', - $extensions: { - 'org.primer.figma': { - collection: 'mode', - mode: 'light', - group: 'semantic', - scopes: ['fgColor'], - codeSyntax: { - web: 'var(--fgColor-success) /* utility class: .color-fg-success */', - }, + $value: '{base.color.green.5}', + $type: 'color', + $extensions: { + 'org.primer.figma': { + collection: 'mode', + mode: 'light', + group: 'semantic', + scopes: ['fgColor'], + codeSyntax: { + web: 'var(--fgColor-success) /* utility class: .color-fg-success */', }, }, }, }, - attention: { - $value: '{base.color.yellow.5}', + open: { + $value: '{fgColor.success}', $type: 'color', $extensions: { 'org.primer.figma': { @@ -154,7 +152,7 @@ group: 'semantic', scopes: ['fgColor'], codeSyntax: { - web: 'var(--fgColor-attention) /* utility class: .color-fg-attention */', + web: 'var(--fgColor-open) /* utility class: .color-fg-open */', }, }, },