mirror of
https://github.com/penpot/penpot.git
synced 2026-11-18 16:12:24 +00:00
* 🐛 Show resolved color in alias token edit form swatch The color token form opened every alias token with an empty swatch. The resolved value only reached :color-result once the value field was touched, so the swatch had nothing to show on open. Keep the resolved color for the swatch when the field is untouched, without showing the "resolved value" hint. Add an e2e test that loads a fixture with a color token and an alias to it. Closes #12672 AI-assisted-by: claude-opus-5-5 * 🐛 Show resolved value when opening an alias token edit form The token edit form only showed "Resolved value" after typing in the value field: the single-value inputs dropped the first resolution while the field was untouched, and the typography/shadow reference field read its first value from [:value :reference], which an alias token does not have (its value is the reference string). Show the hint on open when the resolved value differs from the written one, so a plain `16` gets no `Resolved value: 16`. Start the reference field stream with the alias string. Extend the e2e fixture with font size and typography aliases and add a test for them. Closes #12788 AI-assisted-by: claude-opus-5-5