Skip to content

Commit

Permalink
chore(style): differentiate selected bg color from striped row
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoerdvanBommel committed Jun 9, 2024
1 parent cf68cff commit bf5da7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/theme/src/components/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const table = tv({
variants: {
color: {
default: {
td: "before:bg-default/40 data-[selected=true]:text-default-foreground",
td: "before:bg-default/60 data-[selected=true]:text-default-foreground",
},
primary: {
td: "before:bg-primary/20 data-[selected=true]:text-primary",
Expand Down Expand Up @@ -265,7 +265,7 @@ const table = tv({
isStriped: true,
color: "default",
class: {
td: "group-data-[odd=true]:data-[selected=true]:before:bg-default/40",
td: "group-data-[odd=true]:data-[selected=true]:before:bg-default/60",
},
},
{
Expand Down

0 comments on commit bf5da7d

Please sign in to comment.