Skip to content

feat(ui): use the primary button of the design system in the card sheets - #767

Merged
farfromrefug merged 7 commits into
mainfrom
feat/cardwallet-buttons
Oct 29, 2026
Merged

farfromrefug merged 7 commits into
mainfrom
feat/cardwallet-buttons

Conversation

@farfromrefug

Copy link
Copy Markdown
Collaborator

Summary

  • Primary button (prominentGlass on iOS, contained on Android) for the add button of the create card and the extra field sheets, with the heights of the design system (44 iOS, 40 Android). The same variants already power Save in the card edit sheet.
  • Destructive: the delete icon buttons of the card edit sheet use the error color.

Deviations from the mockup (on purpose):

  • No shape morph from round to squircle on press on Android: needs support in ui-button.
  • The Select button of the color picker and the other buttons of the shared tools submodule are not touched here.

Testing

  • Run on the iOS simulator (iPhone 17, iOS 27): create card sheet.
  • A visual check on Android and of the scanner flavor is still required.

🤖 Generated with Claude Code

farfromrefug and others added 2 commits October 29, 2026 09:37
The add button of the create card and extra field sheets is the primary button: a 44 tall
glass capsule on iOS, a 40 tall filled pill on Android. The delete buttons of the card edit
sheet use the error color.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A shared sheet header: iOS has a glass Cancel pill, the centered title and a prominent
action; Android a close icon, the title and a text action. The create card, extra field and
card edit sheets use it, so their add button leaves the bottom of the sheet, and the color
of a new card moves to its own row.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…orm ifs

The sheet header shares its markup between platforms (buttons props picked in the script,
title styled by css). The create card and extra field sheets are a grouped form of rows
(label left, value right), each a ListItemAutoSize, like the edit sheet of the design.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@farfromrefug
farfromrefug marked this pull request as ready for review October 29, 2026 09:34
farfromrefug and others added 4 commits October 29, 2026 10:37
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… disabled add readable

The create card and extra field sheets keep the header of the design system and use the
outlined fields again, the color of a new card is a row of its own on both platforms. The
primary action is 45% when disabled and keeps its on-accent text color, so it is no longer
red over red on iOS.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The outlined fields take the accent while they have the focus: a css pseudo class set from
the focus and blur events on iOS, the stroke colors of the text field on Android. The sheets
with fields resize with the keyboard on Android, so the focused field stays visible. The
color row has the height of a field.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
feat(ui): give the card sheets the header of the design system
@farfromrefug
farfromrefug merged commit 372e47d into main Oct 29, 2026
1 check failed
@farfromrefug
farfromrefug deleted the feat/cardwallet-buttons branch October 29, 2026 10:18
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.

1 participant