Aubrey
Aubrey
FFilament
Created by Aubrey on 9/6/2024 in #❓┊help
Is there any way to add a 'custom' named color to the default 6 colors?
I want to be able to change colors via a service provider FilamentColor::register mode. Works great with the six default named colors, primary, danger, etc. I can do this in my tailwind.config.js referencing the Filament preset and it works for 'custom' when I change the service provider danger color, but still only gives the six options.
colors: {
custom: preset.theme.extend.colors.danger,
}
colors: {
custom: preset.theme.extend.colors.danger,
}
Is there any way to add to the six?
3 replies