Skip to content

Commit

Permalink
fix: updates color of inactive buttons on table component (#6315)
Browse files Browse the repository at this point in the history
Updated color of disabled buttons on table component
  • Loading branch information
lucaseduoli authored Feb 14, 2025
1 parent d4c04c8 commit ec5259a
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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",
)}
/>
Expand All @@ -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>
Expand Down

0 comments on commit ec5259a

Please sign in to comment.