Skip to content

Conversation

olliecurtis
Copy link
Member

According to the Backpack docs: https://www.skyscanner.design/latest/foundations/typography/fallback-fonts-Fx8gulTr - Skyscanner Relative should have fallbacks of Noto for languages that it cannot support.

When we added Larken and the Noto fallbacks we missed out updating the base font family token to include Noto, this PR does exactly that!

Remember to include the following changes:

  • README.md
  • Tests
  • Storybook examples created/updated for changes to tokens and icons

@Copilot Copilot AI review requested due to automatic review settings August 14, 2025 14:26
@olliecurtis olliecurtis requested review from a team as code owners August 14, 2025 14:26
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the base font family token to include Noto font fallbacks for languages that Skyscanner Relative cannot support, aligning with Backpack's typography documentation.

Key changes:

  • Adds Noto font family fallbacks to the base font family token
  • Updates consistent across all token format files (SCSS, JSON, JavaScript)

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/bpk-foundations-web/tokens/base.scss Updates SCSS variable with Noto fallbacks
packages/bpk-foundations-web/tokens/base.raw.json Updates JSON token definition with Noto fallbacks
packages/bpk-foundations-web/tokens/base.es6.js Updates ES6 export with Noto fallbacks
packages/bpk-foundations-web/tokens/base.default.scss Updates default SCSS variable with Noto fallbacks
packages/bpk-foundations-web/tokens/base.common.js Updates CommonJS export with Noto fallbacks
packages/bpk-foundations-web/src/base/typography.json Updates source JSON definition with Noto fallbacks

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Skyscanner Skyscanner deleted a comment from Copilot AI Aug 14, 2025
@xiaogliu xiaogliu merged commit 8f5d732 into main Aug 15, 2025
5 checks passed
@xiaogliu xiaogliu deleted the no-jira-update-base-font-family branch August 15, 2025 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants