Hasnayeen / themes

Themes for Filament panels.
MIT License
233 stars 31 forks source link

[Bug]: Call to undefined method Filament\Support\Colors\Color::all() #12

Closed CaweAlves closed 1 year ago

CaweAlves commented 1 year ago

What happened?

When adding the plugin to my panel, I encounter the above exception. The error occurs at 'Hasnayeen\Themes\Themes\DefaultTheme:23'.

I have already verified 'Filament\Support\Colors,' and there is no static method named 'all().' Please double-check.

How to reproduce the bug

I just added the plugin to my panel.

Package Version

3.0.13

PHP Version

8.1.22

Laravel Version

10.22.0

Notes

I decided to create this static method 'all' in 'Filament\Support\Colors,' and the problem was solved.

Filament v3.0