Skip to content

Commit

Permalink
Merge pull request #4188 from grommet/update-tokens
Browse files Browse the repository at this point in the history
Update tokens from Figma
  • Loading branch information
taysea authored Sep 18, 2024
2 parents 4bfdfb3 + b68c3ec commit 9cb98d6
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 44 deletions.
76 changes: 38 additions & 38 deletions design-tokens/tokens/component/component.default.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,6 @@
}
}
},
"backgroundColor": {
"$type": "color",
"$value": "{color.background.primary.default}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["STROKE_COLOR", "EFFECT_COLOR"],
"codeSyntax": {}
}
}
},
"borderColor": {
"$type": "color",
"$value": "{button.default.enabled.borderColor}",
Expand Down Expand Up @@ -93,6 +81,18 @@
"codeSyntax": {}
}
}
},
"backgroundColor": {
"$type": "color",
"$value": "{color.background.primary.default}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["STROKE_COLOR", "EFFECT_COLOR"],
"codeSyntax": {}
}
}
}
},
"disabled": {
Expand Down Expand Up @@ -5011,32 +5011,6 @@
}
}
},
"disabled": {
"background": {
"$type": "color",
"$value": "{color.background.disabled}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["FRAME_FILL", "SHAPE_FILL"],
"codeSyntax": {}
}
}
},
"borderColor": {
"$type": "color",
"$value": "{color.border.disabled}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["STROKE_COLOR", "EFFECT_COLOR"],
"codeSyntax": {}
}
}
}
},
"selected": {
"enabled": {
"background": {
Expand Down Expand Up @@ -5153,6 +5127,32 @@
}
}
},
"disabled": {
"background": {
"$type": "color",
"$value": "{color.background.disabled}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["FRAME_FILL", "SHAPE_FILL"],
"codeSyntax": {}
}
}
},
"borderColor": {
"$type": "color",
"$value": "{color.border.disabled}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["STROKE_COLOR", "EFFECT_COLOR"],
"codeSyntax": {}
}
}
}
},
"indeterminate": {
"enabled": {
"background": {
Expand Down
4 changes: 2 additions & 2 deletions design-tokens/tokens/semantic/dimension.large.json
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["ALL_SCOPES"],
"scopes": ["WIDTH_HEIGHT"],
"codeSyntax": {}
}
}
Expand All @@ -362,7 +362,7 @@
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["ALL_SCOPES"],
"scopes": ["WIDTH_HEIGHT"],
"codeSyntax": {}
}
}
Expand Down
4 changes: 2 additions & 2 deletions design-tokens/tokens/semantic/dimension.small.json
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["ALL_SCOPES"],
"scopes": ["WIDTH_HEIGHT"],
"codeSyntax": {}
}
}
Expand All @@ -362,7 +362,7 @@
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["ALL_SCOPES"],
"scopes": ["WIDTH_HEIGHT"],
"codeSyntax": {}
}
}
Expand Down
4 changes: 2 additions & 2 deletions design-tokens/tokens/semantic/global.default.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"color": "{color.focus}",
"width": "{base.dimension.50}"
},
"$description": "For dev use only.",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": true,
Expand Down Expand Up @@ -59,7 +59,7 @@
"small": {
"$type": "number",
"$value": 768,
"$description": "Default mobile breakpoint.",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": true,
Expand Down

0 comments on commit 9cb98d6

Please sign in to comment.