refactor(web/m7-362): action-button labels use non-flipping text-action-fg

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-03 13:42:42 -04:00
parent 5c5f9f3ec1
commit f0bfac2555
10 changed files with 24 additions and 24 deletions
+3 -3
View File
@@ -236,7 +236,7 @@
type="button"
onclick={() => onApprove(r)}
aria-label={`Approve ${rowTitle(r)}`}
class="flex h-8 items-center gap-1 rounded-md bg-action-primary px-3 text-sm text-text-primary hover:opacity-90"
class="flex h-8 items-center gap-1 rounded-md bg-action-primary px-3 text-sm text-action-fg hover:opacity-90"
>
<Check size={14} strokeWidth={1.5} /> Approve
</button>
@@ -299,7 +299,7 @@
onclick={() => onDeleteFile(row)}
aria-label={fileArmed ? `Confirm delete file ${row.track_title}` : `Delete file ${row.track_title}`}
class="flex h-8 items-center gap-1 rounded-md px-3 text-sm transition-colors {fileArmed
? 'bg-action-secondary text-text-primary'
? 'bg-action-secondary text-action-fg'
: 'border border-border text-text-secondary hover:text-text-primary hover:bg-surface-hover'}"
>
<Trash2 size={14} strokeWidth={1.5} /> {fileArmed ? 'Confirm?' : 'Delete file'}
@@ -309,7 +309,7 @@
onclick={() => onDeleteLidarr(row)}
aria-label={lidarrArmed ? `Confirm delete via Lidarr ${row.track_title}` : `Delete via Lidarr ${row.track_title}`}
class="flex h-8 items-center gap-1 rounded-md px-3 text-sm transition-colors {lidarrArmed
? 'bg-action-destructive text-text-primary'
? 'bg-action-destructive text-action-fg'
: 'border border-border text-text-secondary hover:text-text-primary hover:bg-surface-hover'}"
>
<Cloud size={14} strokeWidth={1.5} /> {lidarrArmed ? 'Confirm?' : 'Delete via Lidarr'}