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
Hi @codeartisan , are you using version 2 or version 3 of Filament? Version 3 has moved the dark mode configuration into the panel provider.
I am using version 3
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
then for enabling sidebar on the desktop
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?
making it collapse on desktop is what I meant
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 πok thank you
I have seen it
how do I mark this as solved
React with a β
to the post
I have failed to find it though
are you still there I have some more questions
or I create another post