diff --git a/.changeset/gold-owls-enjoy.md b/.changeset/gold-owls-enjoy.md new file mode 100644 index 000000000..6c7641177 --- /dev/null +++ b/.changeset/gold-owls-enjoy.md @@ -0,0 +1,5 @@ +--- +'@primer/primitives': patch +--- + +rm @ where it does not effect output diff --git a/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 b/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 index 2ee39d544..3e4d2abf7 100644 --- a/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +++ b/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 @@ -6,28 +6,20 @@ { fgColor: { success: { - '@': { - $value: '{base.color.blue.3}', - $type: 'color', - }, + $value: '{base.color.blue.3}', + $type: 'color', }, danger: { - '@': { - $value: '{base.color.orange.4}', - $type: 'color', - }, + $value: '{base.color.orange.4}', + $type: 'color', }, open: { - '@': { - $value: '{base.color.orange.3}', - $type: 'color', - }, + $value: '{base.color.orange.3}', + $type: 'color', }, closed: { - '@': { - $value: '{fgColor.muted}', - $type: 'color', - }, + $value: '{fgColor.muted}', + $type: 'color', }, }, bgColor: { diff --git a/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 b/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 index 4b144e8a2..d1c041846 100644 --- a/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +++ b/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 @@ -6,28 +6,20 @@ { fgColor: { success: { - '@': { - $value: '{base.color.blue.3}', - $type: 'color', - }, + $value: '{base.color.blue.3}', + $type: 'color', }, severe: { - '@': { - $value: '{base.color.red.4}', - $type: 'color', - }, + $value: '{base.color.red.4}', + $type: 'color', }, open: { - '@': { - $value: '{base.color.red.4}', - $type: 'color', - }, + $value: '{base.color.red.4}', + $type: 'color', }, closed: { - '@': { - $value: '{fgColor.muted}', - $type: 'color', - }, + $value: '{fgColor.muted}', + $type: 'color', }, }, bgColor: { diff --git a/src/tokens/functional/color/dark/patterns-dark.json5 b/src/tokens/functional/color/dark/patterns-dark.json5 index 064b5a5a6..203e3d61e 100644 --- a/src/tokens/functional/color/dark/patterns-dark.json5 +++ b/src/tokens/functional/color/dark/patterns-dark.json5 @@ -365,7 +365,7 @@ danger: { fgColor: { rest: { - $value: '{fgColor.danger.@}', + $value: '{fgColor.danger}', $type: 'color', $extensions: { 'org.primer.figma': { @@ -1046,7 +1046,7 @@ invisible: { fgColor: { rest: { - $value: '{fgColor.accent.@}', + $value: '{fgColor.accent}', $type: 'color', $extensions: { 'org.primer.figma': { @@ -1248,7 +1248,7 @@ }, }, disabled: { - $value: '{fgColor.accent.@}', + $value: '{fgColor.accent}', $type: 'color', $extensions: { 'org.primer.figma': { @@ -1341,7 +1341,7 @@ danger: { fgColor: { rest: { - $value: '{fgColor.danger.@}', + $value: '{fgColor.danger}', $type: 'color', $extensions: { 'org.primer.figma': { @@ -1377,7 +1377,7 @@ }, }, disabled: { - $value: '{fgColor.danger.@}', + $value: '{fgColor.danger}', $type: 'color', $extensions: { 'org.primer.figma': { @@ -1392,7 +1392,7 @@ }, iconColor: { rest: { - $value: '{fgColor.danger.@}', + $value: '{fgColor.danger}', $type: 'color', $extensions: { 'org.primer.figma': { @@ -1669,7 +1669,7 @@ }, }, disabled: { - $value: '{fgColor.accent.@}', + $value: '{fgColor.accent}', $type: 'color', $extensions: { 'org.primer.figma': { @@ -1727,7 +1727,7 @@ }, fgColor: { rest: { - $value: '{fgColor.danger.@}', + $value: '{fgColor.danger}', $type: 'color', $extensions: { 'org.primer.figma': { @@ -1751,7 +1751,7 @@ }, }, disabled: { - $value: '{fgColor.danger.@}', + $value: '{fgColor.danger}', $type: 'color', $extensions: { 'org.primer.figma': { @@ -1802,7 +1802,7 @@ }, fgColor: { rest: { - $value: '{fgColor.link.@}', + $value: '{fgColor.link}', $type: 'color', $extensions: { 'org.primer.figma': { diff --git a/src/tokens/functional/color/dark/primitives-dark.json5 b/src/tokens/functional/color/dark/primitives-dark.json5 index e6ca6129f..2614cf71f 100644 --- a/src/tokens/functional/color/dark/primitives-dark.json5 +++ b/src/tokens/functional/color/dark/primitives-dark.json5 @@ -82,206 +82,182 @@ }, }, link: { - '@': { - $value: '{fgColor.accent.@}', - $type: 'color', - $extensions: { - 'org.primer.figma': { - collection: 'mode', - mode: 'dark', - group: 'semantic', - scopes: ['fgColor'], - codeSyntax: { - web: 'var(--fgColor-link) /* utility class: .color-fg-accent */', - }, + $value: '{fgColor.accent}', + $type: 'color', + $extensions: { + 'org.primer.figma': { + collection: 'mode', + mode: 'dark', + group: 'semantic', + scopes: ['fgColor'], + codeSyntax: { + web: 'var(--fgColor-link) /* utility class: .color-fg-accent */', }, }, }, }, neutral: { - '@': { - $value: '{base.color.neutral.8}', - $type: 'color', - $extensions: { - 'org.primer.figma': { - collection: 'mode', - mode: 'dark', - group: 'semantic', - scopes: ['fgColor'], - }, + $value: '{base.color.neutral.8}', + $type: 'color', + $extensions: { + 'org.primer.figma': { + collection: 'mode', + mode: 'dark', + group: 'semantic', + scopes: ['fgColor'], }, }, }, accent: { - '@': { - $value: '{base.color.blue.3}', - $type: 'color', - $extensions: { - 'org.primer.figma': { - collection: 'mode', - mode: 'dark', - group: 'semantic', - scopes: ['fgColor'], - codeSyntax: { - web: 'var(--fgColor-accent) /* utility class: .color-fg-accent */', - }, + $value: '{base.color.blue.3}', + $type: 'color', + $extensions: { + 'org.primer.figma': { + collection: 'mode', + mode: 'dark', + group: 'semantic', + scopes: ['fgColor'], + codeSyntax: { + web: 'var(--fgColor-accent) /* utility class: .color-fg-accent */', }, }, - mix: { - color: '{base.color.blue.5}', - weight: 0.35, - }, + }, + mix: { + color: '{base.color.blue.5}', + weight: 0.35, }, }, success: { - '@': { - $value: '{base.color.green.3}', - $type: 'color', - $extensions: { - 'org.primer.figma': { - collection: 'mode', - mode: 'dark', - group: 'semantic', - scopes: ['fgColor'], - codeSyntax: { - web: 'var(--fgColor-success) /* utility class: .color-fg-success */', - }, + $value: '{base.color.green.3}', + $type: 'color', + $extensions: { + 'org.primer.figma': { + collection: 'mode', + mode: 'dark', + group: 'semantic', + scopes: ['fgColor'], + codeSyntax: { + web: 'var(--fgColor-success) /* utility class: .color-fg-success */', }, }, }, }, attention: { - '@': { - $value: '{base.color.yellow.3}', - $type: 'color', - $extensions: { - 'org.primer.figma': { - collection: 'mode', - mode: 'dark', - group: 'semantic', - scopes: ['fgColor'], - codeSyntax: { - web: 'var(--fgColor-attention) /* utility class: .color-fg-attention */', - }, + $value: '{base.color.yellow.3}', + $type: 'color', + $extensions: { + 'org.primer.figma': { + collection: 'mode', + mode: 'dark', + group: 'semantic', + scopes: ['fgColor'], + codeSyntax: { + web: 'var(--fgColor-attention) /* utility class: .color-fg-attention */', }, }, }, }, severe: { - '@': { - $value: '{base.color.orange.4}', - $type: 'color', - $extensions: { - 'org.primer.figma': { - collection: 'mode', - mode: 'dark', - group: 'semantic', - scopes: ['fgColor'], - codeSyntax: { - web: 'var(--fgColor-severe) /* utility class: .color-fg-severe */', - }, + $value: '{base.color.orange.4}', + $type: 'color', + $extensions: { + 'org.primer.figma': { + collection: 'mode', + mode: 'dark', + group: 'semantic', + scopes: ['fgColor'], + codeSyntax: { + web: 'var(--fgColor-severe) /* utility class: .color-fg-severe */', }, }, }, }, danger: { - '@': { - $value: '{base.color.red.4}', - $type: 'color', - $extensions: { - 'org.primer.figma': { - collection: 'mode', - mode: 'dark', - group: 'semantic', - scopes: ['fgColor'], - codeSyntax: { - web: 'var(--fgColor-danger) /* utility class: .color-fg-danger */', - }, + $value: '{base.color.red.4}', + $type: 'color', + $extensions: { + 'org.primer.figma': { + collection: 'mode', + mode: 'dark', + group: 'semantic', + scopes: ['fgColor'], + codeSyntax: { + web: 'var(--fgColor-danger) /* utility class: .color-fg-danger */', }, }, }, }, open: { - '@': { - $value: '{fgColor.success.@}', - $type: 'color', - $extensions: { - 'org.primer.figma': { - collection: 'mode', - mode: 'dark', - group: 'semantic', - scopes: ['fgColor'], - codeSyntax: { - web: 'var(--fgColor-open) /* utility class: .color-fg-open */', - }, + $value: '{fgColor.success}', + $type: 'color', + $extensions: { + 'org.primer.figma': { + collection: 'mode', + mode: 'dark', + group: 'semantic', + scopes: ['fgColor'], + codeSyntax: { + web: 'var(--fgColor-open) /* utility class: .color-fg-open */', }, }, }, }, closed: { - '@': { - $value: '{base.color.red.4}', - $type: 'color', - $extensions: { - 'org.primer.figma': { - collection: 'mode', - mode: 'dark', - group: 'semantic', - scopes: ['fgColor'], - codeSyntax: { - web: 'var(--fgColor-closed) /* utility class: .color-fg-closed */', - }, + $value: '{base.color.red.4}', + $type: 'color', + $extensions: { + 'org.primer.figma': { + collection: 'mode', + mode: 'dark', + group: 'semantic', + scopes: ['fgColor'], + codeSyntax: { + web: 'var(--fgColor-closed) /* utility class: .color-fg-closed */', }, }, }, }, done: { - '@': { - $value: '{base.color.purple.4}', - $type: 'color', - $extensions: { - 'org.primer.figma': { - collection: 'mode', - mode: 'dark', - group: 'semantic', - scopes: ['fgColor'], - codeSyntax: { - web: 'var(--fgColor-done) /* utility class: .color-fg-done */', - }, + $value: '{base.color.purple.4}', + $type: 'color', + $extensions: { + 'org.primer.figma': { + collection: 'mode', + mode: 'dark', + group: 'semantic', + scopes: ['fgColor'], + codeSyntax: { + web: 'var(--fgColor-done) /* utility class: .color-fg-done */', }, }, }, }, upsell: { - '@': { - $value: '{base.color.purple.4}', - $type: 'color', - $extensions: { - 'org.primer.figma': { - collection: 'mode', - mode: 'dark', - group: 'semantic', - scopes: ['fgColor'], - codeSyntax: { - web: 'var(--fgColor-upsell)', - }, + $value: '{base.color.purple.4}', + $type: 'color', + $extensions: { + 'org.primer.figma': { + collection: 'mode', + mode: 'dark', + group: 'semantic', + scopes: ['fgColor'], + codeSyntax: { + web: 'var(--fgColor-upsell)', }, }, }, }, sponsors: { - '@': { - $value: '{base.color.pink.4}', - $type: 'color', - $extensions: { - 'org.primer.figma': { - collection: 'mode', - mode: 'dark', - group: 'semantic', - scopes: ['fgColor'], - codeSyntax: { - web: 'var(--fgColor-sponsors) /* utility class: .color-fg-sponsors */', - }, + $value: '{base.color.pink.4}', + $type: 'color', + $extensions: { + 'org.primer.figma': { + collection: 'mode', + mode: 'dark', + group: 'semantic', + scopes: ['fgColor'], + codeSyntax: { + web: 'var(--fgColor-sponsors) /* utility class: .color-fg-sponsors */', }, }, }, diff --git a/src/tokens/functional/color/light/overrides/light.high-contrast.json5 b/src/tokens/functional/color/light/overrides/light.high-contrast.json5 index c5db438b1..7111b5474 100644 --- a/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +++ b/src/tokens/functional/color/light/overrides/light.high-contrast.json5 @@ -14,16 +14,12 @@ $type: 'color', }, danger: { - '@': { - $value: '{base.color.red.6}', - $type: 'color', - }, + $value: '{base.color.red.6}', + $type: 'color', }, accent: { - '@': { - $value: '{base.color.blue.6}', - $type: 'color', - }, + $value: '{base.color.blue.6}', + $type: 'color', }, }, bgColor: { diff --git a/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 b/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 index dd73533f9..f66156d3a 100644 --- a/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +++ b/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 @@ -6,31 +6,23 @@ { fgColor: { success: { - '@': { - $value: '{base.color.blue.5}', - $type: 'color', - }, + $value: '{base.color.blue.5}', + $type: 'color', }, open: { - '@': { - $value: '{base.color.orange.5}', - $type: 'color', - }, + $value: '{base.color.orange.5}', + $type: 'color', }, closed: { - '@': { - $value: '{fgColor.muted}', - $type: 'color', - }, + $value: '{fgColor.muted}', + $type: 'color', }, danger: { - '@': { - $value: '{base.color.orange.5}', - $type: 'color', - mix: { - color: '{base.color.orange.4}', - weight: 0.05, - }, + $value: '{base.color.orange.5}', + $type: 'color', + mix: { + color: '{base.color.orange.4}', + weight: 0.05, }, }, }, diff --git a/src/tokens/functional/color/light/overrides/light.tritanopia.json5 b/src/tokens/functional/color/light/overrides/light.tritanopia.json5 index a173f927f..721163841 100644 --- a/src/tokens/functional/color/light/overrides/light.tritanopia.json5 +++ b/src/tokens/functional/color/light/overrides/light.tritanopia.json5 @@ -6,28 +6,20 @@ { fgColor: { success: { - '@': { - $value: '{base.color.blue.5}', - $type: 'color', - }, + $value: '{base.color.blue.5}', + $type: 'color', }, severe: { - '@': { - $value: '{base.color.red.5}', - $type: 'color', - }, + $value: '{base.color.red.5}', + $type: 'color', }, open: { - '@': { - $value: '{base.color.red.5}', - $type: 'color', - }, + $value: '{base.color.red.5}', + $type: 'color', }, closed: { - '@': { - $value: '{fgColor.muted}', - $type: 'color', - }, + $value: '{fgColor.muted}', + $type: 'color', }, }, bgColor: { diff --git a/src/tokens/functional/color/light/patterns-light.json5 b/src/tokens/functional/color/light/patterns-light.json5 index 83fb4a8eb..9ab9d622c 100644 --- a/src/tokens/functional/color/light/patterns-light.json5 +++ b/src/tokens/functional/color/light/patterns-light.json5 @@ -364,7 +364,7 @@ danger: { fgColor: { rest: { - $value: '{fgColor.danger.@}', + $value: '{fgColor.danger}', $type: 'color', $extensions: { 'org.primer.figma': { @@ -376,7 +376,7 @@ }, }, hover: { - $value: '{fgColor.danger.@}', + $value: '{fgColor.danger}', $type: 'color', $extensions: { 'org.primer.figma': { @@ -1038,7 +1038,7 @@ invisible: { fgColor: { rest: { - $value: '{fgColor.accent.@}', + $value: '{fgColor.accent}', $type: 'color', $extensions: { 'org.primer.figma': { @@ -1050,7 +1050,7 @@ }, }, hover: { - $value: '{fgColor.accent.@}', + $value: '{fgColor.accent}', $type: 'color', $extensions: { 'org.primer.figma': { @@ -1204,7 +1204,7 @@ outline: { fgColor: { rest: { - $value: '{fgColor.accent.@}', + $value: '{fgColor.accent}', $type: 'color', $extensions: { 'org.primer.figma': { @@ -1240,7 +1240,7 @@ }, }, disabled: { - $value: '{fgColor.accent.@}', + $value: '{fgColor.accent}', $type: 'color', $extensions: { 'org.primer.figma': { @@ -1337,7 +1337,7 @@ danger: { fgColor: { rest: { - $value: '{fgColor.danger.@}', + $value: '{fgColor.danger}', $type: 'color', $extensions: { 'org.primer.figma': { @@ -1373,7 +1373,7 @@ }, }, disabled: { - $value: '{fgColor.danger.@}', + $value: '{fgColor.danger}', $type: 'color', $extensions: { 'org.primer.figma': { @@ -1388,7 +1388,7 @@ }, iconColor: { rest: { - $value: '{fgColor.danger.@}', + $value: '{fgColor.danger}', $type: 'color', $extensions: { 'org.primer.figma': { @@ -1664,7 +1664,7 @@ }, }, disabled: { - $value: '{fgColor.accent.@}', + $value: '{fgColor.accent}', $type: 'color', $extensions: { 'org.primer.figma': { @@ -1750,7 +1750,7 @@ }, }, disabled: { - $value: '{fgColor.danger.@}', + $value: '{fgColor.danger}', $type: 'color', $extensions: { 'org.primer.figma': { @@ -1799,7 +1799,7 @@ }, fgColor: { rest: { - $value: '{fgColor.link.@}', + $value: '{fgColor.link}', $type: 'color', $extensions: { 'org.primer.figma': { diff --git a/src/tokens/functional/color/light/primitives-light.json5 b/src/tokens/functional/color/light/primitives-light.json5 index 65e210e8f..d98200e36 100644 --- a/src/tokens/functional/color/light/primitives-light.json5 +++ b/src/tokens/functional/color/light/primitives-light.json5 @@ -82,206 +82,182 @@ }, }, link: { - '@': { - $value: '{fgColor.accent.@}', - $type: 'color', - $extensions: { - 'org.primer.figma': { - collection: 'mode', - mode: 'light', - group: 'semantic', - scopes: ['fgColor'], - codeSyntax: { - web: 'var(--fgColor-link) /* utility class: .color-fg-accent */', - }, + $value: '{fgColor.accent}', + $type: 'color', + $extensions: { + 'org.primer.figma': { + collection: 'mode', + mode: 'light', + group: 'semantic', + scopes: ['fgColor'], + codeSyntax: { + web: 'var(--fgColor-link) /* utility class: .color-fg-accent */', }, }, }, }, neutral: { - '@': { - $value: '{base.color.neutral.8}', - $type: 'color', - $extensions: { - 'org.primer.figma': { - collection: 'mode', - mode: 'light', - group: 'semantic', - scopes: ['fgColor'], - }, + $value: '{base.color.neutral.8}', + $type: 'color', + $extensions: { + 'org.primer.figma': { + collection: 'mode', + mode: 'light', + group: 'semantic', + scopes: ['fgColor'], }, }, }, accent: { - '@': { - $value: '{base.color.blue.5}', - $type: 'color', - $extensions: { - 'org.primer.figma': { - collection: 'mode', - mode: 'light', - group: 'semantic', - scopes: ['fgColor'], - codeSyntax: { - web: 'var(--fgColor-accent) /* utility class: .color-fg-accent */', - }, + $value: '{base.color.blue.5}', + $type: 'color', + $extensions: { + 'org.primer.figma': { + collection: 'mode', + mode: 'light', + group: 'semantic', + scopes: ['fgColor'], + codeSyntax: { + web: 'var(--fgColor-accent) /* utility class: .color-fg-accent */', }, }, }, }, 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 */', - }, + $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}', - $type: 'color', - $extensions: { - 'org.primer.figma': { - collection: 'mode', - mode: 'light', - group: 'semantic', - scopes: ['fgColor'], - codeSyntax: { - web: 'var(--fgColor-attention) /* utility class: .color-fg-attention */', - }, + $value: '{base.color.yellow.5}', + $type: 'color', + $extensions: { + 'org.primer.figma': { + collection: 'mode', + mode: 'light', + group: 'semantic', + scopes: ['fgColor'], + codeSyntax: { + web: 'var(--fgColor-attention) /* utility class: .color-fg-attention */', }, }, }, }, severe: { - '@': { - $value: '{base.color.orange.5}', - $type: 'color', - $extensions: { - 'org.primer.figma': { - collection: 'mode', - mode: 'light', - group: 'semantic', - scopes: ['fgColor'], - codeSyntax: { - web: 'var(--fgColor-severe) /* utility class: .color-fg-severe */', - }, + $value: '{base.color.orange.5}', + $type: 'color', + $extensions: { + 'org.primer.figma': { + collection: 'mode', + mode: 'light', + group: 'semantic', + scopes: ['fgColor'], + codeSyntax: { + web: 'var(--fgColor-severe) /* utility class: .color-fg-severe */', }, }, }, }, danger: { - '@': { - $value: '{base.color.red.5}', - $type: 'color', - $extensions: { - 'org.primer.figma': { - collection: 'mode', - mode: 'light', - group: 'semantic', - scopes: ['fgColor'], - codeSyntax: { - web: 'var(--fgColor-danger) /* utility class: .color-fg-danger */', - }, + $value: '{base.color.red.5}', + $type: 'color', + $extensions: { + 'org.primer.figma': { + collection: 'mode', + mode: 'light', + group: 'semantic', + scopes: ['fgColor'], + codeSyntax: { + web: 'var(--fgColor-danger) /* utility class: .color-fg-danger */', }, }, - mix: { - color: '{base.color.red.4}', - weight: 0.05, - }, + }, + mix: { + color: '{base.color.red.4}', + weight: 0.05, }, }, open: { - '@': { - $value: '{fgColor.success.@}', - $type: 'color', - $extensions: { - 'org.primer.figma': { - collection: 'mode', - mode: 'light', - group: 'semantic', - scopes: ['fgColor'], - codeSyntax: { - web: 'var(--fgColor-open) /* utility class: .color-fg-open */', - }, + $value: '{fgColor.success}', + $type: 'color', + $extensions: { + 'org.primer.figma': { + collection: 'mode', + mode: 'light', + group: 'semantic', + scopes: ['fgColor'], + codeSyntax: { + web: 'var(--fgColor-open) /* utility class: .color-fg-open */', }, }, }, }, closed: { - '@': { - $value: '{fgColor.danger.@}', - $type: 'color', - $extensions: { - 'org.primer.figma': { - collection: 'mode', - mode: 'light', - group: 'semantic', - scopes: ['fgColor'], - codeSyntax: { - web: 'var(--fgColor-closed) /* utility class: .color-fg-closed */', - }, + $value: '{fgColor.danger}', + $type: 'color', + $extensions: { + 'org.primer.figma': { + collection: 'mode', + mode: 'light', + group: 'semantic', + scopes: ['fgColor'], + codeSyntax: { + web: 'var(--fgColor-closed) /* utility class: .color-fg-closed */', }, }, }, }, done: { - '@': { - $value: '{base.color.purple.5}', - $type: 'color', - $extensions: { - 'org.primer.figma': { - collection: 'mode', - mode: 'light', - group: 'semantic', - scopes: ['fgColor'], - codeSyntax: { - web: 'var(--fgColor-done) /* utility class: .color-fg-done */', - }, + $value: '{base.color.purple.5}', + $type: 'color', + $extensions: { + 'org.primer.figma': { + collection: 'mode', + mode: 'light', + group: 'semantic', + scopes: ['fgColor'], + codeSyntax: { + web: 'var(--fgColor-done) /* utility class: .color-fg-done */', }, }, }, }, upsell: { - '@': { - $value: '{base.color.purple.5}', - $type: 'color', - $extensions: { - 'org.primer.figma': { - collection: 'mode', - mode: 'light', - group: 'semantic', - scopes: ['fgColor'], - codeSyntax: { - web: 'var(--fgColor-upsell)', - }, + $value: '{base.color.purple.5}', + $type: 'color', + $extensions: { + 'org.primer.figma': { + collection: 'mode', + mode: 'light', + group: 'semantic', + scopes: ['fgColor'], + codeSyntax: { + web: 'var(--fgColor-upsell)', }, }, }, }, sponsors: { - '@': { - $value: '{base.color.pink.5}', - $type: 'color', - $extensions: { - 'org.primer.figma': { - collection: 'mode', - mode: 'light', - group: 'semantic', - scopes: ['fgColor'], - codeSyntax: { - web: 'var(--fgColor-sponsors) /* utility class: .color-fg-sponsors */', - }, + $value: '{base.color.pink.5}', + $type: 'color', + $extensions: { + 'org.primer.figma': { + collection: 'mode', + mode: 'light', + group: 'semantic', + scopes: ['fgColor'], + codeSyntax: { + web: 'var(--fgColor-sponsors) /* utility class: .color-fg-sponsors */', }, }, },