We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Due to disableTransitionOnChange from https://github.com/shadcn-ui/ui/blob/main/apps/www/app/layout.tsx#L93, no dark: animations will function.
disableTransitionOnChange
dark:
This means that the classes in ModeToggle aren't actually doing anything: https://github.com/shadcn-ui/ui/blob/main/apps/www/components/mode-toggle.tsx#L22-L23.
ModeToggle
Go to https://ui.shadcn.com/docs/dark-mode/next and change the theme. The icon will not animate.
No response
N/A
The text was updated successfully, but these errors were encountered:
I also noticed about this and I fixed it. Will make a PR soon.
Sorry, something went wrong.
ThemeProvider
Successfully merging a pull request may close this issue.
Describe the bug
Due to
disableTransitionOnChange
from https://github.com/shadcn-ui/ui/blob/main/apps/www/app/layout.tsx#L93, nodark:
animations will function.This means that the classes in
ModeToggle
aren't actually doing anything: https://github.com/shadcn-ui/ui/blob/main/apps/www/components/mode-toggle.tsx#L22-L23.Affected component/components
ModeToggle
How to reproduce
Go to https://ui.shadcn.com/docs/dark-mode/next and change the theme. The icon will not animate.
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting
The text was updated successfully, but these errors were encountered: