© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
2 replies
Jamie Cee

Get Active Colour

So I have a custom blade view, and it makes use of the color attribute:

                    <x-filament::button type="submit" color="primary">
                        Submit
                    </x-filament::button>
                    <x-filament::button type="submit" color="primary">
                        Submit
                    </x-filament::button>


However, if I change that colour in the service provider, is there a way I can obtain the active colour?
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

Get the active tab
FilamentFFilament / ❓┊help
3y ago
Get the active tenant id
FilamentFFilament / ❓┊help
2y ago
Background Colour
FilamentFFilament / ❓┊help
3y ago
How to get active tab in beforeValidation()
FilamentFFilament / ❓┊help
2y ago