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