When using layout('filament::components.layouts.card') custom theme isn't applied
*Hi,
I already asked this question on GitHub but did not get a response. In the meantime I wasn't able to figure it out.
Hopefully it is okay to ask this question once again on here. If not, let me know, I'll delete this post.
*
Hi,
When I create a custom Livewire route with the code below my filament custom colors are not applied.
Would it be possible to use the filament card with the theme colors?
https://github.com/filamentphp/filament/discussions/6412
GitHub
When using layout('filament::components.layouts.card') custom color...
Hi, When I create a custom Livewire route with the code below my filament custom colors are not applied. <?php namespace App\Http\Livewire; use Livewire\Component; class AccountInactive extends ...
4 Replies
If you are using fortify, make sure to apply “config(‘filament.middleware.base’)” to the fortify middleware.
I am not using fortify, just the normal laravel&filament auth with my custom password reset page.
how did you register your route
did you add filament middleware?
->middleware(config('filament.middleware.base'))
I registered my route like this:
Good idea, I will try this
Yeah that solved it.
I changed my routes to the following: