-
Notifications
You must be signed in to change notification settings - Fork 712
Applying transition-colors to light / dark theme #3645
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
Comments
This might happen because You should be able to re-enable it in your |
@benjamincanac Thanks for the response! I tried enabling it, didn't work:
Maybe it's because Not sure if that would make sense And just trying to make sure it's not a mistake by my side: the following
|
Same here, cant make this work. It's minor but would be nice to have. |
Does it work when using |
@benjamincanac Tried it but still doent work, the transition is not applied when changing from light to dark and back (setting the theme preference with @nuxtjs/color-mode.) From what i tested, changing light/dark mode doesnt apply the transition but changing just the bg color while in the same mode the transition works. |
I tried what you suggested, it did not work:
Note that changing the secondary color while on the same mode does work, as @IliasPavlakos stated.
|
Same here. No transition of colors when switching modes. It would be nice to have some degree of softening the blow ;-) |
Description
Hi, I'm having a hard time applying transition to dark / light background.
My
main.css
file is as follows.Changing the background color from
slate
tostone
, for example, works fine.The problem is just for the light / dark theme transition.
Here is the function that changes the theme:
Any help would be appreciated, thanks!
The text was updated successfully, but these errors were encountered: