Repository navigation
Give MainButtonView iOS's kinds: primary, secondary, destructive - #93
Merged
Merged
Conversation
Every button was the same onSurface outline, so signing out or deleting looked like signing in. MainButtonType (PRIMARY filled, SECONDARY a primary outline, DESTRUCTIVE an error outline) is required at every call, in the kind of the iOS screen's button. On the sign-in screen "Forgot your password?" and "Didn't receive confirmation instructions?" are text links, as on iOS. The light primary was Blue40, 3.4:1 under white text and on the background; it is now Blue20, iOS's light accent (MainButtonTypeTest). Same as NativeAppTemplate-Android. Found while building Orange Baton from the template. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018iXcEetCio5kwB6Fhf2EJi
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018iXcEetCio5kwB6Fhf2EJi
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.
Summary
Same as NativeAppTemplate-Android #139.
MainButtonType(PRIMARY filledprimary/onPrimary, SECONDARY aprimaryoutline, DESTRUCTIVE anerroroutline), required at everyMainButtonView, in the kind of the iOS screen's button. Sign Out and Delete Shop no longer look like Sign In.primaryis Blue20 (iOS's light accent) instead of Blue40 (3.4:1 under white text).Test plan
MainButtonTypeTest(kinds differ; 4.5:1 text in light and dark).🤖 Generated with Claude Code
https://claude.ai/code/session_018iXcEetCio5kwB6Fhf2EJi