Hello everyone,
I'm facing an issue that I haven't been able to solve.
In my application I have two Filament panels:
A public panel (external) – it doesn't require login (I removed authentication). It is used for landing pages and public content, so I forced it to always use the light theme.
An admin panel – where the client can switch between light and dark mode.
The main problem is that since the external panel is always light, when the client later accesses the admin panel, it also stays light, even if the user previously selected dark mode.
What seems to happen is:
The external panel forces light mode
Then when navigating back to the admin panel, it inherits the theme preference from the external panel
So the theme setting keeps persisting between panels.
Does anyone know the best way to prevent theme persistence between different Filament panels?
I’ve already tried several approaches based on the documentation, but without success.
Thanks in advance!