F
Filament5mo ago
Mateus

Table repeater headers

I have a problem when using table repeater, the header has a white dark mode bar
No description
17 Replies
awcodes
awcodes5mo ago
You didn’t include the plugin’s views in your custom theme tailwind.config.js
Mateus
MateusOP5mo ago
No description
awcodes
awcodes5mo ago
and you also imported the css into the theme.css
@import '<path-to-vendor>/awcodes/filament-table-repeater/resources/css/plugin.css';
@import '<path-to-vendor>/awcodes/filament-table-repeater/resources/css/plugin.css';
Mateus
MateusOP5mo ago
No description
awcodes
awcodes5mo ago
make sure you've run the build and the custom theme is registered correctly in your panel.
No description
Mateus
MateusOP5mo ago
I already built it, the theme is the filament pattern
awcodes
awcodes5mo ago
what's in vite.config.js? something is off in your app. just not sure what. i can't replicate the issue
Mateus
MateusOP5mo ago
it's like this
No description
Dennis Koch
Dennis Koch5mo ago
Where's the theme?
awcodes
awcodes5mo ago
You missed a step.
Mateus
MateusOP5mo ago
which?
awcodes
awcodes5mo ago
Add this ‘resources/css/filament/admin/theme.css’ to the input array.
Dennis Koch
Dennis Koch5mo ago
Either you missed that step or you haven't generated a theme yet.
Mateus
MateusOP5mo ago
I ran the command art make:filament-theme yesterday I added it, built it again and it didn't work
Dennis Koch
Dennis Koch5mo ago
I guess you also didn't add ->viteTheme() to your panel? Did you read the output of the command?
Mateus
MateusOP5mo ago
Exactly, I forgot about that, thank you very much 😀

Did you find this page helpful?