fix: use primary color for loader, add loader-inherit for colored buttons

This commit is contained in:
2026-01-24 21:14:51 -05:00
parent 4cfd01ba70
commit cc8b999969
5 changed files with 17 additions and 12 deletions

View File

@@ -109,7 +109,7 @@
wire:loading.attr="disabled"
wire:target="promptDelete('{{ $backup->volid }}')"
class="bg-background border border-neutral px-3 py-2 rounded-md text-sm font-semibold flex items-center gap-2 text-error disabled:opacity-50 disabled:cursor-not-allowed">
<span wire:loading wire:target="promptDelete('{{ $backup->volid }}')" class="loader w-4 h-4"></span>
<span wire:loading wire:target="promptDelete('{{ $backup->volid }}')" class="loader loader-inherit w-4 h-4"></span>
<x-ri-delete-bin-fill wire:loading.remove wire:target="promptDelete('{{ $backup->volid }}')" class="w-4 h-4"/> Delete
</button>
</div>