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