-
-
Notifications
You must be signed in to change notification settings - Fork 310
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
Dark/Light Mode Toggle Button is not showing up after update from v. 0.8.1 to 0.9.0 #4445
Comments
This is most likely because you're using the What you need to do is to simply import the |
@bharatkashyap This helped! Thanks a lot! One more question and I will close this issue. Is there a way to disable the branding title? Now if I don't need a title in the header, I need to pass empty string. It will be great remove the the default title "Toolpad". |
This is where it's set https://github.com/mui/toolpad/blob/master/packages/toolpad-core/src/shared/branding.ts#L6 - feel free to make a small PR removing this and replacing it with an empty string. I see no objections in removing this default since almost everyone will most likely want to override it. On the PR we can gather the others' opinions |
OK, thanks a lot! I will do it, probably tomorrow. |
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. Note @Petar-Dimitrov-AXA How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey. |
Search keywords
theming toggle dark mode light mode
Latest version
Steps to reproduce
After I updated @toolpad/core lib to version 0.9.0 form version, the Dark/Light toggle button ist not appearing anymore.
Setting the dark/light mode programmatically is working. #see setMode(defaultMode);
Here is my Layout Component where I use the the AppProvider and the DashboardLayout:
And here is my theming config:
What can be wrong? Is there anything what I can do to fix this? It was working on the previous version...
Current behavior
No response
Expected behavior
No response
Context
No response
Your environment
Those are my dependencies:
The text was updated successfully, but these errors were encountered: