Skip to content

Commit

Permalink
update naming to reduce nesting in Figma
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann committed Jun 14, 2024
1 parent 31e827d commit ce78e6f
Showing 1 changed file with 54 additions and 60 deletions.
114 changes: 54 additions & 60 deletions src/tokens/functional/color/light/data-vis-light.json5
Original file line number Diff line number Diff line change
Expand Up @@ -2,84 +2,78 @@
data: {
blue: {
color: {
'@': {
$value: '{base.display.color.blue.5}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'component',
scopes: ['bgColor'],
},
$value: '{base.display.color.blue.5}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'component',
scopes: ['bgColor'],
},
},
muted: {
$value: '{base.display.color.blue.0}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'component',
scopes: ['bgColor'],
},
},
'color-muted': {
$value: '{base.display.color.blue.0}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'component',
scopes: ['bgColor'],
},
},
},
},
auburn: {
color: {
'@': {
$value: '{base.display.color.auburn.5}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'component',
scopes: ['bgColor'],
},
$value: '{base.display.color.auburn.5}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'component',
scopes: ['bgColor'],
},
},
muted: {
$value: '{base.display.color.auburn.0}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'component',
scopes: ['bgColor'],
},
},
'color-muted': {
$value: '{base.display.color.auburn.0}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'component',
scopes: ['bgColor'],
},
},
},
},
orange: {
color: {
'@': {
$value: '{base.display.color.orange.4}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'component',
scopes: ['bgColor'],
},
$value: '{base.display.color.orange.4}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'component',
scopes: ['bgColor'],
},
},
muted: {
$value: '{base.display.color.orange.0}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'component',
scopes: ['bgColor'],
},
},
'color-muted': {
$value: '{base.display.color.orange.0}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'component',
scopes: ['bgColor'],
},
},
},
Expand Down

0 comments on commit ce78e6f

Please sign in to comment.