Skip to content
This repository was archived by the owner on Aug 5, 2026. It is now read-only.

Update Figma design tokens - #4964

Merged
Gert-Jan Vercauteren (gert-janvercauteren) merged 3 commits into
mainfrom
figma-token-sync/20260723182526-30033560994
Jul 24, 2026
Merged

Gert-Jan Vercauteren (gert-janvercauteren) merged 3 commits into
mainfrom
figma-token-sync/20260723182526-30033560994

Conversation

@skyscanner-backpack-bot

@skyscanner-backpack-bot skyscanner-backpack-bot Bot commented Jul 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Automated Figma variable sync generated updates to Backpack design tokens and CSS custom properties.

Additionally rebuilds packages/backpack-web/src/bpk-stylesheets/base.css to incorporate the updated CSS custom properties.

Typography tokens are excluded from this sync — they are not ready to be shipped yet.

Release label: major

Release label rules:

  • major — an existing token path was removed, renamed, or had its value changed (consumer code may break).
  • minor — only new token paths were added.

Deleted or renamed tokens

The following token paths existed in the previous commit but are missing from the fetched tokens. Treat them as breaking changes and verify usages have been migrated.

backpack.dark.json

  • Component/Chip-group-filter/Colour/bg-icon-hover-on-image
  • Component/Chip-group-filter/Colour/bg-icon-off-on-image
  • Component/Chip-group-filter/Colour/bg-icon-on-default
  • Component/Chip-group-filter/Colour/bg-icon-on-on-dark
  • Component/Chip-group-filter/Colour/bg-icon-on-on-image
  • Component/Chip-group-filter/Colour/stroke-icon-hover-default
  • Component/Chip-group-filter/Colour/stroke-icon-hover-on-dark
  • Component/Chip-group-filter/Colour/stroke-icon-off-default
  • Component/Chip-group-filter/Colour/stroke-icon-off-on-dark
  • Component/Chip-group-filter/Dimensions/min-height

backpack.light.json

  • Component/Chip-group-filter/Colour/bg-icon-hover-on-image
  • Component/Chip-group-filter/Colour/bg-icon-off-on-image
  • Component/Chip-group-filter/Colour/bg-icon-on-default
  • Component/Chip-group-filter/Colour/bg-icon-on-on-dark
  • Component/Chip-group-filter/Colour/bg-icon-on-on-image
  • Component/Chip-group-filter/Colour/stroke-icon-hover-default
  • Component/Chip-group-filter/Colour/stroke-icon-hover-on-dark
  • Component/Chip-group-filter/Colour/stroke-icon-off-default
  • Component/Chip-group-filter/Colour/stroke-icon-off-on-dark
  • Component/Chip-group-filter/Dimensions/min-height

Source

Copilot AI review requested due to automatic review settings July 23, 2026 18:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.

Updates the Backpack design-token outputs to align naming and add new component tokens, while adjusting typography line-height representations.

Changes:

  • Renames Chip Group token namespace (and corresponding CSS custom properties) from chip-group-filter to chip-group.
  • Adds new Page Indicator color tokens and exports them to light/dark theme CSS.
  • Converts many typography line-height values from token aliases / integer-like values into unitless numeric ratios.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
token-sync/tokens/manifest.json Refreshes generation metadata and token counts to reflect the updated exports.
token-sync/tokens/backpack.light.json Renames a token group, adds Page Indicator, and inlines/changes line-height values.
token-sync/tokens/backpack.dark.json Mirrors the light theme token changes for dark mode.
token-sync/css/theme-backpack-light.css Renames Chip Group CSS vars, adds Page Indicator vars, and updates typography line-height values.
token-sync/css/theme-backpack-dark.css Mirrors the light theme CSS variable updates for dark mode.
Files not reviewed (1)
  • packages/backpack-web/src/bpk-stylesheets/base.css: Generated file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread token-sync/css/theme-backpack-light.css Resolved
}
},
"Chip-group-filter": {
"Chip Group": {
},
"$type": "color"
},
"Page Indicator": {
Comment on lines +414 to +417
"bg-overImage-selected": {
"$value": "{Neutral.White}"
},
"bg-overImage-unselected": {
Comment thread token-sync/css/theme-backpack-light.css Outdated
--bpk-typography-body-longform-family: 'Skyscanner Relative';
--bpk-typography-body-longform-letter-spacing: 0;
--bpk-typography-body-longform-line-height: 28;
--bpk-typography-body-longform-line-height: 1.399999976158142;
Comment thread token-sync/css/theme-backpack-light.css Outdated
--bpk-typography-caption-family: 'Skyscanner Relative';
--bpk-typography-caption-letter-spacing: 0;
--bpk-typography-caption-line-height: 16;
--bpk-typography-caption-line-height: 1.3300000429153442;
Comment thread token-sync/css/theme-backpack-light.css Outdated
--bpk-typography-display-1-family: 'Skyscanner Relative';
--bpk-typography-display-1-letter-spacing: -0.21875rem;
--bpk-typography-display-1-line-height: 192;
--bpk-typography-display-1-line-height: 0.800000011920929;
Comment thread token-sync/css/theme-backpack-light.css Outdated
--bpk-typography-footnote-family: 'Skyscanner Relative';
--bpk-typography-footnote-letter-spacing: 0;
--bpk-typography-footnote-line-height: 20;
--bpk-typography-footnote-line-height: 1.4279999732971191;
Comment thread token-sync/tokens/backpack.light.json Outdated
Comment on lines 780 to 783
"Line-height": {
"$value": "{Type.Line-height.24}",
"$value": 1.5,
"$type": "number"
},
@skyscanner-backpack-bot

Copy link
Copy Markdown
Contributor Author

Adds an `excludeVariablePrefixes` option to the sync pipeline and wires
it up with `['Typography']` so typography variables are filtered out
before tree-building. Also strips the previously-synced typography
entries from the committed token JSON, CSS, and manifest files.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <[email protected]>
@skyscanner-backpack-bot

Copy link
Copy Markdown
Contributor Author

@gert-janvercauteren Gert-Jan Vercauteren (gert-janvercauteren) added minor Non breaking change and removed major Breaking change labels Jul 24, 2026
Regenerates the compiled stylesheet after typography tokens were excluded
from the Figma variable sync.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <[email protected]>
@skyscanner-backpack-bot

Copy link
Copy Markdown
Contributor Author

@gert-janvercauteren
Gert-Jan Vercauteren (gert-janvercauteren) merged commit 539f11e into main Jul 24, 2026
15 checks passed
@gert-janvercauteren
Gert-Jan Vercauteren (gert-janvercauteren) deleted the figma-token-sync/20260723182526-30033560994 branch July 24, 2026 06:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants