Skip to content

Handle duplicate tokens and enable null for f2 overrides - #34277

Merged
Mitch-At-Work merged 2 commits into
microsoft:extended-tokensfrom
Mitch-At-Work:user/mifraser/fix-legacy-duplicates
Apr 17, 2025
Merged

Handle duplicate tokens and enable null for f2 overrides#34277
Mitch-At-Work merged 2 commits into
microsoft:extended-tokensfrom
Mitch-At-Work:user/mifraser/fix-legacy-duplicates

Conversation

@Mitch-At-Work

Copy link
Copy Markdown
Contributor

Previous Behavior

Duplicate legacy tokens would get re-exported
There was no way to define a token as 'has inline fallbacks'

New Behavior

Duplicate legacy tokens only get exported once
Any tokens set to 'null' are inferred to have inline fallbacks and should not be overwritten with other fallbacks (use inline instead).

@Mitch-At-Work
Mitch-At-Work requested a review from a team as a code owner April 16, 2025 23:37
@github-actions

Copy link
Copy Markdown

Pull request demo site: URL

Comment thread packages/semantic-tokens/scripts/legacyTokens.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants