Skip to content

Commit

Permalink
Force primary color from current panel
Browse files Browse the repository at this point in the history
  • Loading branch information
Baspa committed Dec 17, 2024
1 parent 9a21def commit 81d20a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/auth/login-two-factor.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{{ $this->form }}

<div class="flex items-center justify-between mt-6">
<x-filament::button type="submit" class="w-full bg-custom-500">
<x-filament::button type="submit" class="w-full" style="background-color: {{ filament()->getCurrentPanel()->getColors()['primary'] }};">
{{ __('Login') }}
</x-filament::button>
</div>
Expand Down

0 comments on commit 81d20a8

Please sign in to comment.