Conversation
TokenGraph.platform_extensions (added in #1380) had no public getter and was invisible in describe/primer output. Component-side consumers already read graph.components directly, so only the platform-extension side needed surfacing. - sdk/core/src/graph.rs: add TokenGraph::platform_extensions() getter. - sdk/core/src/primer.rs: add platformExtensions: Vec<String> to PrimerData, built as "{platform}:{extends}" strings mirroring the existing components field; add a unit test. - sdk/cli/src/main.rs: print the platform-extension count in `primer`'s pretty output (JSON output picks it up automatically). Closes spectrum-design-data-h890.22.3.
Review on #1381 found it unused, including by the PR's own primer code, which reads graph.platform_extensions directly. The field is already pub; add a getter back if/when a consumer outside this crate needs one.
run_primer never called manifest::apply_configured, so a configured platform manifest's extensions.components/platformExtensions never surfaced in `design-data primer` output — the primer JSON stayed at platformExtensions: [] even with the manifest wired (bead .22.4). Wire it in, mirroring the same cascade run_query/run_resolve apply. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
… legacy (#1345-#1347) - Add transparent-static-white-*/transparent-static-black-* (36 tokens, aligned to the opacity foundation scale) and theme-aware transparent-neutral-*/ transparent-neutral-inverse-* (72 tokens, light/dark/wireframe). - Register the 4 new colorFamily values in registry/color-families.json. - Deprecate legacy transparent-white-*, transparent-black-*, white, and black tokens in favor of the new transparent-static-* families. - Regenerate legacy output and Rust registry codegen. Closes #1345, #1346, #1347. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
🦋 Changeset detectedLatest commit: e56f303 The changes in this PR will be included in the next version bump. This PR includes changesets to release 12 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
🎨 Token Changes ReportTokens Changed (100)Original Branch: Newly Deprecated (28)- `black` - `transparent-black-100` - `transparent-black-1000` - `transparent-black-200` - `transparent-black-25` - `transparent-black-300` - `transparent-black-400` - `transparent-black-50` - `transparent-black-500` - `transparent-black-600` - `transparent-black-700` - `transparent-black-75` - `transparent-black-800` - `transparent-black-900` - `transparent-white-100` - `transparent-white-1000` - `transparent-white-200` - `transparent-white-25` - `transparent-white-300` - `transparent-white-400` - `transparent-white-50` - `transparent-white-500` - `transparent-white-600` - `transparent-white-700` - `transparent-white-75` - `transparent-white-800` - `transparent-white-900` - `white`Added (72)- `transparent-neutral-0` - `transparent-neutral-100` - `transparent-neutral-1000` - `transparent-neutral-125` - `transparent-neutral-150` - `transparent-neutral-200` - `transparent-neutral-300` - `transparent-neutral-350` - `transparent-neutral-400` - `transparent-neutral-50` - `transparent-neutral-500` - `transparent-neutral-600` - `transparent-neutral-700` - `transparent-neutral-75` - `transparent-neutral-750` - `transparent-neutral-800` - `transparent-neutral-900` - `transparent-neutral-950` - `transparent-neutral-inverse-0` - `transparent-neutral-inverse-100` - `transparent-neutral-inverse-1000` - `transparent-neutral-inverse-125` - `transparent-neutral-inverse-150` - `transparent-neutral-inverse-200` - `transparent-neutral-inverse-300` - `transparent-neutral-inverse-350` - `transparent-neutral-inverse-400` - `transparent-neutral-inverse-50` - `transparent-neutral-inverse-500` - `transparent-neutral-inverse-600` - `transparent-neutral-inverse-700` - `transparent-neutral-inverse-75` - `transparent-neutral-inverse-750` - `transparent-neutral-inverse-800` - `transparent-neutral-inverse-900` - `transparent-neutral-inverse-950` - `transparent-static-black-0` - `transparent-static-black-100` - `transparent-static-black-1000` - `transparent-static-black-125` - `transparent-static-black-150` - `transparent-static-black-200` - `transparent-static-black-300` - `transparent-static-black-350` - `transparent-static-black-400` - `transparent-static-black-50` - `transparent-static-black-500` - `transparent-static-black-600` - `transparent-static-black-700` - `transparent-static-black-75` - `transparent-static-black-750` - `transparent-static-black-800` - `transparent-static-black-900` - `transparent-static-black-950` - `transparent-static-white-0` - `transparent-static-white-100` - `transparent-static-white-1000` - `transparent-static-white-125` - `transparent-static-white-150` - `transparent-static-white-200` - `transparent-static-white-300` - `transparent-static-white-350` - `transparent-static-white-400` - `transparent-static-white-50` - `transparent-static-white-500` - `transparent-static-white-600` - `transparent-static-white-700` - `transparent-static-white-75` - `transparent-static-white-750` - `transparent-static-white-800` - `transparent-static-white-900` - `transparent-static-white-950`This comment was automatically generated by the token diff tool. 🤖 |
Contributor
🧩 Component Schema Changes ReportNo component schema changes detected.This comment was automatically generated by the component schema diff tool. 🤖 |
Contributor
Run report for e56f3035Total time: 3m 8s | Comparison time: 8m 56s | Estimated savings: 5m 48s (64.9% faster)
Expanded report
Changed files |
GarthDB
marked this pull request as draft
August 27, 2026 16:52
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds the two remaining transparency-token families from the AI Branding proposal and
deprecates the legacy transparency tokens they replace, finishing the work started in
#1348 (opacity scale, #1344 only).
transparent-static-white-*/transparent-static-black-*— 36 tokens, fixed valuesacross all color schemes, aligned to the 18-step opacity foundation scale.
transparent-neutral-*/transparent-neutral-inverse-*— 72 tokens (18 steps ×light/dark/wireframe), theme-aware so consumers don't have to manually pick
transparent-white vs. transparent-black per theme.
transparent-white-*,transparent-black-*,white, andblacktokens (lifecycle.deprecatedIn: 15.3.0) in favor of the newtransparent-static-*families.colorFamilyregistry values and regenerates the legacypackages/tokens/src/color-palette.jsonoutput + Rust registry codegen.Related Issue
Closes #1345, #1346, #1347.
Motivation and Context
Bead
spectrum-design-data-8rtytracked all of #1344–#1347; #1348 only shipped theopacity scale (#1344). This PR completes the remaining transparency scope needed for
the AI Branding effort.
How Has This Been Tested?
moon run design-data:validate— schema + registry validation passes (pre-existingunrelated warnings on table/switch/tag-field components only).
moon run design-data:legacy-output— regeneratedpackages/tokens/src/color-palette.json;diff shows exactly the new tokens plus
deprecated: trueon the 28 legacy entries.moon run design-data:roundtrip-verifyandmoon run tokens:test(27 tests, incl.legacy-output/roundtrip/snapshot checks) — all pass.
moon run sdk:test— 1324 Rust tests pass (token data embedded at compile time).node tools/changeset-linter/src/cli.js check --fail-on-warnings— passes.Screenshots (if appropriate):
N/A — token data only.
Types of changes
Checklist: