Its possible to set the panel color by database ?
Is it possible to change the panel's color from the database without it being hardcoded? My goal is to have a form that allows changing the panel's color
trying this actually but dsnt work:

6 Replies
Did you set the middleware to be persistent?
Laravel
Security | Laravel
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
Solution
Hi, in a serviceProvider, use Filament::serving(function () {})
and inside you can register your colors with FilamentColor::register(['primary' => Colors::Blue]);
in boot method of course
thank you! that solve my problem 🫡
you're welcome