fix: updates color of inactive buttons on table component (#6315)

Updated color of disabled buttons on table component
This commit is contained in:
Lucas Oliveira 2025-02-14 17:33:14 -03:00 committed by GitHub
commit ec5259a0fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -57,7 +57,9 @@ export default function TableOptions({
name="Copy"
className={cn(
"h-5 w-5 transition-all",
hasSelection ? "text-primary" : "text-muted-foreground",
hasSelection
? "text-primary"
: "cursor-not-allowed text-placeholder-foreground",
)}
/>
</Button>
@ -86,7 +88,7 @@ export default function TableOptions({
className={cn(
"h-5 w-5 transition-all",
!hasSelection
? "text-muted-foreground"
? "cursor-not-allowed text-placeholder-foreground"
: "text-primary hover:text-status-red",
)}
/>
@ -109,7 +111,9 @@ export default function TableOptions({
strokeWidth={2}
className={cn(
"h-5 w-5 transition-all",
!stateChange ? "text-muted-foreground" : "text-primary",
!stateChange
? "cursor-not-allowed text-placeholder-foreground"
: "text-primary",
)}
/>
</Button>