No styling in InfoList when used in a livewire component?
I wanted to use infolist on a livewire page for its design, but when used on a livewire page its just plain text. Am I doing something wrong?
14 Replies
Where is your blade file located, maybe you haven't added the path to the tailwind.config.js content array
dont forget to npm run build or npm run dev after
Tailwind is working
The infolist is plain
I thought it'd be something like the way its in when used in a panel resource
not sure what you mean, how would you like it to show?
How can i style this?
I think its because of the backgruond it looks very plain, looks better in a filament panel
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
Tailwind might be working but you'll need to esnure you are loading in the vendor filament components to parse and load in the required assets.
If this is outside Fillament pages, you might need to load the styles in the layout itself with
@filamentStyles
This worked. Thanks!!
One last thing, how do i change the colors and the preset?
What do you mean? Which colors?
My navbar turned black after i did that
For style changes, you probably need a custom theme (there are instructions for it somewhere in the documentation)
maybe it's bacause dark mode is enabled