F
Filament4mo 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
WEBMAS4mo ago
Thank you
WEBMAS
WEBMAS4mo ago
Does not work. I do as in the instructions, but nothing is wrong.
No description
meebo
meebo4mo 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
WEBMAS4mo ago
There is no documentation about this anywhere (Can you show me where it is written about this?
meebo
meebo4mo 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