-
Notifications
You must be signed in to change notification settings - Fork 124
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
Sign in button background color not displayed correctly #160
Comments
But line 6 is your app code. This is a very confusing example of the issue as the variable on line 6 isn't being used anywhere, this is not an Auth UI issue, this is an application code issue. If you remove line 28 - 41 you will see the default theme. |
@silentworks I don't fully understand the problem. I can see it being an application issue as well as an Auth UI issue. As you said, that line 6 is not used anywhere, it should not affect the code. But it does affect it, even the default theme! Without the fix in line 6 (note that the background color is not applied properly) |
@lkoehl ah I see what you mean, I've changed this back to a bug and will investigate it further to try and find what's going wrong here. It looks like something is leaking into the css variables and how they work from the app code. |
I encountered this issue while using a custom theme and hex colors for the brand and brandAccent. However, I resolved it by switching to the rgb() format, and the button background filled in with my custom color as expected. |
Bug report
Describe the bug
The sign in button from the login form doesn't always show the correct background color. You can take a look at #106 where I provided screenshots of the example project.
To Reproduce
Check the codesandbox for a MWE. Remove line 6 in
App.tsx
and compare the background color of the sign in button.If you also check
App.module.css
you can see, that it is an empty file.Expected behavior
The background color of the login button remains consistent.
The text was updated successfully, but these errors were encountered: