#custom theme CSS for blade files

16 messages · Page 1 of 1 (latest)

agile garnet
#

i added custom theme for my adminPanelprovider so i can use tailwind in custom blade views but even if i did everything acording to docs somehow no css is not working, I am on Filament v4 with tailwind v4

#

different panel is completly okay, so question is what step I may be doing wrong, I registered my new theme.css in vite and also builded it

peak storm
#

using
->viteTheme('resources/css/filament/admin/theme.css')

agile garnet
peak storm
#

are you using pages or resources?

peak storm
# agile garnet

check in folder resources/css/filament/admin/theme.css does it exist?

agile garnet
#

yes i did everything as was stated in docs

peak storm
#

vite.config.js, try checking if I remember correctly, it should be added there too. and this is the first time I've done that

agile garnet
#

I am starting to think that this is vite+docker issue

tribal raft
#

v4 uses tailwind v4 and sources are set in the css file?

agile garnet