Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Apple login button color to white when in dark mode #907

Merged
merged 1 commit into from
Oct 12, 2020

Conversation

cozzin
Copy link
Contributor

@cozzin cozzin commented Oct 10, 2020

This PR fix the issue related Apple login button color, introduced in #841

We should set white button color when background is dark or colored.
https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple/overview/buttons/
image

Copy link
Contributor

@morganchen12 morganchen12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@morganchen12 morganchen12 merged commit 5b69840 into firebase:master Oct 12, 2020
@carloshwa
Copy link

Is there a way to make this configurable? The background of my login screen is a dark color, in both light and dark modes, so I need the button to be white in both cases.

@cozzin
Copy link
Contributor Author

cozzin commented Oct 21, 2020

Hi, @carloshwa. You can check new method in #908

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants