fix(ui): spinner full opacity — remove disabled:opacity-60 from button

CSS opacity on parent compounds to all children, spinner can't escape it.
disabled:opacity-60 → disabled:opacity-100 (keeps button at full color
while loading, cursor:wait signals busy state). Text fades via
wire:loading.class="opacity-50" on label span only.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
main
boban 2026-05-17 15:13:55 +02:00
parent 36b335819a
commit 695727e321
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
])
@php
$base = 'relative inline-flex items-center justify-center px-4 py-2 rounded-lg text-sm font-medium transition disabled:opacity-60 disabled:cursor-not-allowed';
$base = 'relative inline-flex items-center justify-center px-4 py-2 rounded-lg text-sm font-medium transition disabled:opacity-100 disabled:cursor-wait';
$variants = [
'primary' => 'bg-accent-gradient text-white hover:opacity-90',
'secondary' => 'bg-s2 border border-white/[.06] text-t1 hover:bg-s3',