Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renames tokens: Action -> Actions #843

Merged
merged 4 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,565 changes: 783 additions & 782 deletions packages/figma-design-tokens/input/tokens/$themes.json

Large diffs are not rendered by default.

66 changes: 33 additions & 33 deletions packages/figma-design-tokens/input/tokens/color/CMP.json
Original file line number Diff line number Diff line change
Expand Up @@ -1429,83 +1429,83 @@
"BackgroundColor": {
"Active": {
"Rest": {
"value": "{Action.Primary.SurfaceFill.Rest}",
"value": "{Actions.Primary.SurfaceFill.Rest}",
"type": "color"
},
"Hover": {
"value": "{Action.Primary.SurfaceFill.Hover}",
"value": "{Actions.Primary.SurfaceFill.Hover}",
"type": "color"
},
"Pressed": {
"value": "{Action.Primary.SurfaceFill.Pressed}",
"value": "{Actions.Primary.SurfaceFill.Pressed}",
"type": "color"
},
"Focus": {
"value": "{Action.Primary.SurfaceFill.Focus}",
"value": "{Actions.Primary.SurfaceFill.Focus}",
"type": "color"
}
},
"Inactive": {
"Rest": {
"value": "{Action.Silent.SurfaceFill.Rest}",
"value": "{Actions.Silent.SurfaceFill.Rest}",
"type": "color"
},
"Hover": {
"value": "{Action.Silent.SurfaceFill.Hover}",
"value": "{Actions.Silent.SurfaceFill.Hover}",
"type": "color"
},
"Pressed": {
"value": "{Action.Silent.SurfaceFill.Pressed}",
"value": "{Actions.Silent.SurfaceFill.Pressed}",
"type": "color"
},
"Focus": {
"value": "{Action.Silent.SurfaceFill.Focus}",
"value": "{Actions.Silent.SurfaceFill.Focus}",
"type": "color"
},
"Disabled": {
"value": "{Action.Silent.SurfaceFill.Disabled}",
"value": "{Actions.Silent.SurfaceFill.Disabled}",
"type": "color"
}
}
},
"BorderColor": {
"Active": {
"Rest": {
"value": "{Action.Primary.SurfaceStroke.Rest}",
"value": "{Actions.Primary.SurfaceStroke.Rest}",
"type": "color"
},
"Hover": {
"value": "{Action.Primary.SurfaceStroke.Hover}",
"value": "{Actions.Primary.SurfaceStroke.Hover}",
"type": "color"
},
"Pressed": {
"value": "{Action.Primary.SurfaceStroke.Pressed}",
"value": "{Actions.Primary.SurfaceStroke.Pressed}",
"type": "color"
},
"Focus": {
"value": "{Action.Primary.SurfaceStroke.Focus}",
"value": "{Actions.Primary.SurfaceStroke.Focus}",
"type": "color"
}
},
"Inactive": {
"Rest": {
"value": "{Action.Silent.SurfaceStroke.Rest}",
"value": "{Actions.Silent.SurfaceStroke.Rest}",
"type": "color"
},
"Hover": {
"value": "{Action.Silent.SurfaceStroke.Hover}",
"value": "{Actions.Silent.SurfaceStroke.Hover}",
"type": "color"
},
"Pressed": {
"value": "{Action.Silent.SurfaceStroke.Pressed}",
"value": "{Actions.Silent.SurfaceStroke.Pressed}",
"type": "color"
},
"Focus": {
"value": "{Action.Silent.SurfaceStroke.Focus}",
"value": "{Actions.Silent.SurfaceStroke.Focus}",
"type": "color"
},
"Disabled": {
"value": "{Action.Silent.SurfaceStroke.Disabled}",
"value": "{Actions.Silent.SurfaceStroke.Disabled}",
"type": "color"
}
}
Expand Down Expand Up @@ -1656,69 +1656,69 @@
"Container": {
"BackgroundColor": {
"Rest": {
"value": "{Action.Silent.SurfaceFill.Rest}",
"value": "{Actions.Silent.SurfaceFill.Rest}",
"type": "color"
},
"Hover": {
"value": "{Action.Silent.SurfaceFill.Hover}",
"value": "{Actions.Silent.SurfaceFill.Hover}",
"type": "color"
},
"Pressed": {
"value": "{Action.Silent.SurfaceFill.Pressed}",
"value": "{Actions.Silent.SurfaceFill.Pressed}",
"type": "color"
},
"Focus": {
"value": "{Action.Silent.SurfaceFill.Focus}",
"value": "{Actions.Silent.SurfaceFill.Focus}",
"type": "color"
},
"Disabled": {
"value": "{Action.Silent.SurfaceFill.Focus}",
"value": "{Actions.Silent.SurfaceFill.Focus}",
"type": "color"
}
},
"BorderColor": {
"Rest": {
"value": "{Action.Silent.SurfaceStroke.Rest}",
"value": "{Actions.Silent.SurfaceStroke.Rest}",
"type": "color"
},
"Hover": {
"value": "{Action.Silent.SurfaceStroke.Hover}",
"value": "{Actions.Silent.SurfaceStroke.Hover}",
"type": "color"
},
"Pressed": {
"value": "{Action.Silent.SurfaceStroke.Pressed}",
"value": "{Actions.Silent.SurfaceStroke.Pressed}",
"type": "color"
},
"Focus": {
"value": "{Action.Silent.SurfaceStroke.Focus}",
"value": "{Actions.Silent.SurfaceStroke.Focus}",
"type": "color"
},
"Disabled": {
"value": "{Action.Silent.SurfaceStroke.Focus}",
"value": "{Actions.Silent.SurfaceStroke.Focus}",
"type": "color"
}
}
},
"Icon": {
"IconColor": {
"Rest": {
"value": "{Action.Silent.Icon.Rest}",
"value": "{Actions.Silent.Icon.Rest}",
"type": "color"
},
"Hover": {
"value": "{Action.Silent.Icon.Hover}",
"value": "{Actions.Silent.Icon.Hover}",
"type": "color"
},
"Pressed": {
"value": "{Action.Silent.Icon.Pressed}",
"value": "{Actions.Silent.Icon.Pressed}",
"type": "color"
},
"Focus": {
"value": "{Action.Silent.Icon.Focus}",
"value": "{Actions.Silent.Icon.Focus}",
"type": "color"
},
"Disabled": {
"value": "{Action.Silent.Icon.Disabled}",
"value": "{Actions.Silent.Icon.Disabled}",
"type": "color"
}
}
Expand Down
38 changes: 19 additions & 19 deletions packages/figma-design-tokens/input/tokens/color/SEM.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Action": {
"Actions": {
"CTA": {
"SurfaceFill": {
"Rest": {
Expand Down Expand Up @@ -640,45 +640,45 @@
"UnSelected": {
"SurfaceFill": {
"Rest": {
"value": "{Action.Silent.SurfaceFill.Rest}",
"value": "{Actions.Silent.SurfaceFill.Rest}",
"type": "color"
},
"Hover": {
"value": "{Action.Silent.SurfaceFill.Hover}",
"value": "{Actions.Silent.SurfaceFill.Hover}",
"type": "color"
},
"Pressed": {
"value": "{Action.Silent.SurfaceFill.Pressed}",
"value": "{Actions.Silent.SurfaceFill.Pressed}",
"type": "color"
},
"Focus": {
"value": "{Action.Silent.SurfaceFill.Focus}",
"value": "{Actions.Silent.SurfaceFill.Focus}",
"type": "color"
},
"Disabled": {
"value": "{Action.Silent.SurfaceFill.Disabled}",
"value": "{Actions.Silent.SurfaceFill.Disabled}",
"type": "color"
}
},
"SurfaceStroke": {
"Rest": {
"value": "{Action.Silent.SurfaceStroke.Rest}",
"value": "{Actions.Silent.SurfaceStroke.Rest}",
"type": "color"
},
"Hover": {
"value": "{Action.Silent.SurfaceStroke.Hover}",
"value": "{Actions.Silent.SurfaceStroke.Hover}",
"type": "color"
},
"Pressed": {
"value": "{Action.Silent.SurfaceStroke.Pressed}",
"value": "{Actions.Silent.SurfaceStroke.Pressed}",
"type": "color"
},
"Focus": {
"value": "{Action.Silent.SurfaceStroke.Focus}",
"value": "{Actions.Silent.SurfaceStroke.Focus}",
"type": "color"
},
"Disabled": {
"value": "{Action.Silent.SurfaceStroke.Disabled}",
"value": "{Actions.Silent.SurfaceStroke.Disabled}",
"type": "color"
}
},
Expand Down Expand Up @@ -752,37 +752,37 @@
"Selected": {
"SurfaceFill": {
"Rest": {
"value": "{Action.Primary.SurfaceFill.Rest}",
"value": "{Actions.Primary.SurfaceFill.Rest}",
"type": "color"
},
"Hover": {
"value": "{Action.Primary.SurfaceFill.Hover}",
"value": "{Actions.Primary.SurfaceFill.Hover}",
"type": "color"
},
"Pressed": {
"value": "{Action.Primary.SurfaceFill.Pressed}",
"value": "{Actions.Primary.SurfaceFill.Pressed}",
"type": "color"
},
"Focus": {
"value": "{Action.Primary.SurfaceFill.Focus}",
"value": "{Actions.Primary.SurfaceFill.Focus}",
"type": "color"
}
},
"SurfaceStroke": {
"Rest": {
"value": "{Action.Primary.SurfaceStroke.Rest}",
"value": "{Actions.Primary.SurfaceStroke.Rest}",
"type": "color"
},
"Hover": {
"value": "{Action.Primary.SurfaceStroke.Hover}",
"value": "{Actions.Primary.SurfaceStroke.Hover}",
"type": "color"
},
"Pressed": {
"value": "{Action.Primary.SurfaceStroke.Pressed}",
"value": "{Actions.Primary.SurfaceStroke.Pressed}",
"type": "color"
},
"Focus": {
"value": "{Action.Primary.SurfaceStroke.Focus}",
"value": "{Actions.Primary.SurfaceStroke.Focus}",
"type": "color"
}
},
Expand Down
12 changes: 6 additions & 6 deletions packages/figma-design-tokens/input/tokens/dimensions/CMP.json
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@
"description": "Adds padding to the menu item"
},
"BorderRadius": {
"value": "{Action.BorderRadius}",
"value": "{Actions.BorderRadius}",
"type": "borderRadius",
"description": "Defines the border radius of a single menu item."
},
Expand Down Expand Up @@ -788,7 +788,7 @@
},
"ItemLabel": {
"Typography": {
"value": "{Action.MD.Label}",
"value": "{Actions.MD.Label}",
"type": "typography"
}
},
Expand Down Expand Up @@ -841,7 +841,7 @@
}
}
},
"SectionStack": {
"MenuSectionStack": {
"ItemSpacing": {
"value": "{core.dimensionPX.12}",
"type": "spacing",
Expand Down Expand Up @@ -3691,17 +3691,17 @@
"Label": {
"Typography": {
"SM": {
"value": "{Action.SM.Label}",
"value": "{Actions.SM.Label}",
"type": "typography",
"description": "Typography of the Label of a Tab-Button"
},
"MD": {
"value": "{Action.MD.Label}",
"value": "{Actions.MD.Label}",
"type": "typography",
"description": "Typography of the Label of a Tab-Button"
},
"LG": {
"value": "{Action.LG.Label}",
"value": "{Actions.LG.Label}",
"type": "typography",
"description": "Typography of the Label of a Tab-Button"
}
Expand Down
Loading
Loading