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

Optional config for login screen background color gradients (independent of primaryColor) #12

Merged
merged 2 commits into from Dec 8, 2019

Conversation

doc-rj-celltrak
Copy link
Contributor

This change is to add an optional LoginTheme config for the login screen's light and dark background color gradients. If provided, the pageColorLight and pageColorDark color values will override the primaryColor and computed primaryColorDark values for the light and dark gradients used on the login screen background.

The reason is that you might want a lighter background color than what is used for your primary color in the form field backgrounds, etc. Also, when using a lighter color for your primaryColor, the computed primaryColorDark often doesn't actually provide a darker color, so you don't get any gradient effect at all. Anyhow, a lighter primaryColor can cause the form fields to blend into the white auth_card background, with not enough visible contrast.

So, this is just one potential way to give users more control with LoginTheme config options.

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.

None yet

2 participants