Demo 2: Token sync
A scripted sync diffs the Figma export; Claude Code classifies each change. Overall bump: major.
| Change | Tokens | Semver | Breaking | Rationale |
|---|---|---|---|---|
rename→ color.feedback.error |
color.danger |
major | yes | All 3 tokens (fg, bg, border) moved as a group with identical values and leaf names, so the meaning carries over, but the 3 references in tokens/component.json break until updated. |
| add | color.feedback.info.fgcolor.feedback.info.bgcolor.feedback.info.border |
minor | no | Three new info tokens (blue 700/50/500) with no previous name, so nothing existing is affected. |
| value_change | space.3 |
major | yes | space.3 goes from 12 to 14, which is off the 4/8/12/16/24/32/48 scale, and it is used in 4 places (acme.rules.json, src/foundations.css, and tokens/component.json twice), so this changes layout meaning and needs a person to confirm it. |
Generated changelog
### Added - `color.feedback.info.fg`, `color.feedback.info.bg` and `color.feedback.info.border` for informational status UI. ### Changed - Renamed the `color.danger` group to `color.feedback.error` (`fg`, `bg`, `border`). Values are unchanged. - `space.3` changed from 12 to 14. 14 is not on the spacing scale (4/8/12/16/24/32/48).
Migration notes
#### Rename `color.danger` to `color.feedback.error` Before: `color.danger.fg`, `color.danger.bg`, `color.danger.border` After: `color.feedback.error.fg`, `color.feedback.error.bg`, `color.feedback.error.border` Affected: `tokens/component.json` (1 reference each to fg, bg and border). Update these references or the build breaks. #### `space.3` changed from 12 to 14 Before: `space.3` = 12 After: `space.3` = 14 Affected: `acme.rules.json` (1), `src/foundations.css` (1), `tokens/component.json` (2). 14 is off the spacing scale (4/8/12/16/24/32/48). Confirm it is intended. If it is, update the scale in `acme.rules.json`. If not, revert to 12.