config/filament.php lacking some configurations

Hi I have a challenge when i run the configuration command I cannot find the options of removing dark theme and also the sidebar configurations are not there as described in the documentation
10 Replies
Alex Six
Alex Sixβ€’2y ago
Hi @codeartisan , are you using version 2 or version 3 of Filament? Version 3 has moved the dark mode configuration into the panel provider.
codeartisan
codeartisanOPβ€’2y ago
I am using version 3
Alex Six
Alex Sixβ€’2y ago
Ok, so for dark mode, you are able to toggle it off as seen here: https://filamentphp.com/docs/3.x/panels/themes#disabling-dark-mode
codeartisan
codeartisanOPβ€’2y ago
then for enabling sidebar on the desktop
Alex Six
Alex Sixβ€’2y ago
The sidebar should be enabled on desktop by default. If you're looking to collapse it on desktop, you can find that information here: https://filamentphp.com/docs/3.x/panels/navigation#collapsible-sidebar-on-desktop If that's not what you are trying to do, can you explain a little more for me?
codeartisan
codeartisanOPβ€’2y ago
making it collapse on desktop is what I meant
Alex Six
Alex Sixβ€’2y ago
Ok! Then the last link I sent over should do exactly what you want. In Filament 3, much of the configuration that used to be in the filament.php config file is now handled in your panel provider class(es). The docs have lots of good information on those global configurations, just be sure to check that you're looking at the "Version 3.x" docs when you search and click around πŸ‘
codeartisan
codeartisanOPβ€’2y ago
ok thank you I have seen it how do I mark this as solved
Alex Six
Alex Sixβ€’2y ago
React with a βœ… to the post
codeartisan
codeartisanOPβ€’2y ago
I have failed to find it though are you still there I have some more questions or I create another post

Did you find this page helpful?