You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Was the default variants on buttons and input fields intended to be different in dark mode?
They are similar in light mode.
To be honest, I'm not a huge fan of the transparency in elements, because having different backgrounds cause the same type of elements to look different.
As I look at the photos above, they don't look horrible, so here's the full element in dark mode.
In my opinion, having the default variants on buttons and inputs be different looks bad. If this was intended, please close this and discard my feedback.
I'd like to add that all of the above elements are default components from Flux. Copy and pasted.
Also, I'm fulling aware that I can just flux:publish the component and change it myself, but I thought this feedback was worth just enough to report, and I'm not a huge fan of keeping up with all the changes I've made to stock components.
One last thing, I know that variant="primary" should be used for the sign in button, but there are certain scenarios that people need to use the default input with a default button, such as the following:
Note
The following screenshots were taken directly from the documentation
or
The inputs are also different than the menu items active state as well:
Anyways... thanks for taking the time to read this! Please feel free to throw this one out. I just wanted to give some feedback.
Code snippets
<flux:cardclass="w-full max-w-sm space-y-6 min-w-xs"><divclass="text-center"><flux:headingsize="lg">Sign in to continue</flux:heading></div><divclass="flex flex-col space-y-3"><flux:buttonclass="w-full" icon="google">Sign in with Google</flux:button><flux:buttonclass="w-full" icon="facebook">Sign in with Facebook</flux:button><flux:buttonclass="w-full" icon="apple">Sign in with Apple</flux:button></div><flux:separator/><divclass="text-center"><flux:subheading>or use your email address</flux:subheading></div><flux:inputtype="email" placeholder="Enter your email address" /><flux:buttonclass="w-full">Sign in</flux:button><divclass="text-center text-xs flex justify-center space-x-5"><flux:linkhref="#">Can't sign in?</flux:link><flux:linkhref="{{ route('auth.register') }}">Create an account</flux:link></div></flux:card>
How do you expect it to work?
I'd love to see the default variants on inputs and button to be the same in both dark and light mode.
Please confirm (incomplete submissions will not be addressed)
I have provided easy and step-by-step instructions to reproduce the bug.
I have provided code samples as text and NOT images.
I understand my bug report will be closed if I haven't met the criteria above.
Flux version
2.0.4
Livewire version
3.6.1
Tailwind version
4.0.9
Browser and Operating System
Brave on Windows 11
What is the problem?
Was the default variants on buttons and input fields intended to be different in dark mode?
They are similar in light mode.
To be honest, I'm not a huge fan of the transparency in elements, because having different backgrounds cause the same type of elements to look different.
As I look at the photos above, they don't look horrible, so here's the full element in dark mode.
In my opinion, having the default variants on buttons and inputs be different looks bad. If this was intended, please close this and discard my feedback.
I'd like to add that all of the above elements are default components from Flux. Copy and pasted.
Also, I'm fulling aware that I can just
flux:publishthe component and change it myself, but I thought this feedback was worth just enough to report, and I'm not a huge fan of keeping up with all the changes I've made to stock components.One last thing, I know that
variant="primary"should be used for the sign in button, but there are certain scenarios that people need to use the default input with a default button, such as the following:Note
The following screenshots were taken directly from the documentation
or
The inputs are also different than the menu items active state as well:
Anyways... thanks for taking the time to read this! Please feel free to throw this one out. I just wanted to give some feedback.
Code snippets
How do you expect it to work?
I'd love to see the default variants on inputs and button to be the same in both dark and light mode.
Please confirm (incomplete submissions will not be addressed)