When I try to put Hasnayeen\Themes\Http\Middleware\SetTheme::class on middleware, its return error `Call to undefined method Filament\Support\Colors\Color::all()'
How to reproduce the bug
Its fine when I add ThemesPlugin inside plugins() panel but when I add SetTheme on middleware() it return error
What happened?
When I try to put
Hasnayeen\Themes\Http\Middleware\SetTheme::class
on middleware, its return error `Call to undefined method Filament\Support\Colors\Color::all()'How to reproduce the bug
Its fine when I add
ThemesPlugin
insideplugins()
panel but when I addSetTheme
onmiddleware()
it return errorPackage Version
3.0
PHP Version
8.1.17
Laravel Version
10.10
Notes
Filament version 3.0-stable