F
Filament10mo ago
Abi

Configure base colors when using Filament Components as a Standalone Components

How can I configure the base colors (primary, warning, error) when using Filament for Standalone Components?
Solution:
So it is the same way, but use the service provider: https://filamentphp.com/docs/3.x/support/colors#customizing-the-default-colors It loads the custom css for the color variables into the head....
Jump to solution
2 Replies
Solution
toeknee
toeknee10mo ago
So it is the same way, but use the service provider: https://filamentphp.com/docs/3.x/support/colors#customizing-the-default-colors It loads the custom css for the color variables into the head.
Abi
AbiOP10mo ago
@toeknee, if I have darkMode set to media on the tailwind.config.js, how do I register the FilamentColor for dark mode?
Want results from more Discord servers?
Add your server