mirror of
https://github.com/penpot/penpot.git
synced 2026-11-27 05:10:32 +00:00
* ♻️ Use the DS button in the Design tab export menu The "Export N elements" button of the Export menu was a raw button with the deprecated %button-secondary placeholder. It becomes a secondary button*, as the Inspect export button already is, so it takes the DS label, hover and disabled look. The btn-disabled class goes away: the .scss never defined it, and button* styles the disabled state. A zero-tolerance visual test shows the button at rest, on hover and while exporting (the export request is held so the state stays), and the export row, which the styles commit that follows must not change. AI-assisted-by: claude-opus-5-5 * ♻️ Move the Design tab export menu styles to the DS exports.scss drops the deprecated spacing, flex-row and typography mixins and the %mixed-bar placeholder: DS sizes, borders, spacing tokens and px2rem take their place, with logical properties. The mixed bar colors resolve to their DS tokens. The format and size selects share one rule. The refactor/ import stays only for %input-element, which the suffix input keeps until the text inputs group moves it. The mixed bar and the suffix input take body-small (line height 1.4 to 1.3). The visual test shows 0 px against the previous commit; the mixed bar is not in it, because the test file cannot reach that state. AI-assisted-by: claude-opus-5-5