© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3mo ago•
8 replies
Nguyen Thiet Minh Duc

Unable to enforce white text color on Actions with custom background colors

Actions4️⃣v4
In dark mode, the text sometimes switches to black automatically, based on the background color. I try to change color(Color::generateV3Palette(Color::Amber[400])) in dark mode, the text color automatically becomes white, which is fine. However, in light mode, the text color still black. How to fix it ?
image.png
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Unable to enforce white text color on Actions with custom background colors
FilamentFFilament / ❓┊help
3mo ago
custom component background color
FilamentFFilament / ❓┊help
9mo ago
Table Actions Custom Color
FilamentFFilament / ❓┊help
3y ago
Unable to override primary color on custom theme
FilamentFFilament / ❓┊help
2y ago