F
Filament9mo ago
WEBMAS

How to change the class attribute of Sidebar?

Hello. How to change the class attribute of Sidebar? I want to add a white background and shadow to sidebar.
8 Replies
WEBMAS
WEBMASOP9mo ago
Thank you
WEBMAS
WEBMASOP9mo ago
Does not work. I do as in the instructions, but nothing is wrong.
No description
meebo
meebo9mo ago
Have to go through and recompile with a custom field I believe. The tailwind needs to be compiled with npm run dev or npm run build make sure you read the comments in the box for all steps
WEBMAS
WEBMASOP9mo ago
There is no documentation about this anywhere (Can you show me where it is written about this?
meebo
meebo9mo ago
⇂ First, add a new item to the `input` array of `vite.config.js`: `resources/css/filament/admin/theme.css`
⇂ Next, register the theme in the admin panel provider using `->viteTheme('resources/css/filament/admin/theme.css')`
⇂ Finally, run `npm run build` to compile the theme
⇂ First, add a new item to the `input` array of `vite.config.js`: `resources/css/filament/admin/theme.css`
⇂ Next, register the theme in the admin panel provider using `->viteTheme('resources/css/filament/admin/theme.css')`
⇂ Finally, run `npm run build` to compile the theme
Want results from more Discord servers?
Add your server