Using filament forms outside filament, how can i configure primary colors?
Pretty much the title
4 Replies
You should be able to configure global colors in your tailwind.config.js file and use then throughout your livewire application
i have already set my primary color in my tailwind config file like this:
this clearly does not suffice tho? any idea what to do next
you need to include
const colors = require('tailwindcss/colors')
at the top of that file to access colors
they work as intended in the rest of my app. app as in outside the filament. but filament forms that i use do not read these colors
well i can still override colors with css but it is not wise