Custom theme not affecting panel
I am trying to play with custom themes, but the first thing that I walk into is an example from the docs that is not working. Anyone got any ideas?
I followed every step on https://filamentphp.com/docs/3.x/support/style-customization. As seen in the picture, the background is affected, but it does not seem to work properly like the docs is showing.

12 Replies
This is a picture of a piece of the topbar:

Did you create a custom theme first?
https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme
Yes I did
This works, but seems weird to do:
I think you need to add it under a
@layer
e.g:
For me that is still not working..
not sure but as a previous way is working then your theme is setup an compiled and loaded, so the only issue might be just some css selectors order issue
try different layer and the
!important
keywordIt seems it just doesn't work on the topbar, sidebar works
Yeah, I believe it is just a CSS priority issue
Check the layer name of the
fi-topbar
class too@Mohamed Ayaou How do I check the layer name?
Click here, it will take you to the compiled tailwindcss file

and directly to the targeted class. go up to see under which layer they are
components layer as far as i can see