F
Filament6mo 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
awcodes6mo ago
You didn’t include the plugin’s views in your custom theme tailwind.config.js
Mateus
MateusOP6mo ago
No description
awcodes
awcodes6mo 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
MateusOP6mo ago
No description
awcodes
awcodes6mo ago
make sure you've run the build and the custom theme is registered correctly in your panel.
No description
Mateus
MateusOP6mo ago
I already built it, the theme is the filament pattern
awcodes
awcodes6mo ago
what's in vite.config.js? something is off in your app. just not sure what. i can't replicate the issue
Mateus
MateusOP6mo ago
it's like this
No description
Dennis Koch
Dennis Koch6mo ago
Where's the theme?
awcodes
awcodes6mo ago
You missed a step.
Mateus
MateusOP6mo ago
which?
awcodes
awcodes6mo ago
Add this ‘resources/css/filament/admin/theme.css’ to the input array.
Dennis Koch
Dennis Koch6mo ago
Either you missed that step or you haven't generated a theme yet.
Mateus
MateusOP6mo ago
I ran the command art make:filament-theme yesterday I added it, built it again and it didn't work
Dennis Koch
Dennis Koch6mo ago
I guess you also didn't add ->viteTheme() to your panel? Did you read the output of the command?
Mateus
MateusOP6mo ago
Exactly, I forgot about that, thank you very much 😀

Did you find this page helpful?