swisnl / filament-backgrounds

Beautiful backgrounds for Filament auth pages
MIT License
37 stars 4 forks source link

[Bug]: cant use this wonderful plugin along side with other theme plugin #9

Open chris-john19 opened 9 months ago

chris-john19 commented 9 months ago

What happened?

since this is a custom login background only... Im expecting it to work with the filament themes. Its not compatible. I'm using the https://filamentphp.com/plugins/hasnayeen-themes for the themes after the login page.

How to reproduce the bug

try using this and the aforementioned theme plugin in the adminpanelprovider

      ->plugin(
            FilamentBackgroundsPlugin::make(),
            ThemesPlugin::make()

        ) 

Package Version

1.1

PHP Version

8.1

Laravel Version

10.10

Which operating systems does with happen with?

macOS, Windows, Linux

Notes

would love to recommend and use this alongside the other theme... or you can include theme customization like the rest and not just the login background as the other theme customization plugins out there doesnt support login background changer

JaZo commented 9 months ago

Thanks for reporting! I have some deadlines now, but will look into it soon!

JaZo commented 9 months ago

Can you be more specific about what's wrong? Why isn't it compatible? Do you have screenshots? Etc. I installed the theme you mentioned and everything seems fine to me.

jackwh commented 8 months ago

If it helps, I'm using this plugin successfully with the Minimal theme. The only adjustment I had to make was adding this line to my theme CSS:

/* Fix the backdrop blur used by the Filament Backgrounds plugin when combined with the Minimal Theme */
.fi-simple-main {
    @apply p-10 rounded-xl backdrop-brightness-[.33] backdrop-opacity-90 backdrop-blur-sm !important;
}

Besides that, everything else works great 👍