Skip to content

Commit 85411e5

Browse files
committed
Brighten the text on table row hover
1 parent e9848cf commit 85411e5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • apps/webapp/app/components/primitives

apps/webapp/app/components/primitives/Table.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const variants = {
1111
headerCell: "px-3 py-2.5 pb-3 text-sm",
1212
cell: "group-hover/table-row:bg-charcoal-750 group-has-[[tabindex='0']:focus]/table-row:bg-charcoal-750",
1313
cellSize: "px-3 py-3",
14-
cellText: "text-xs",
14+
cellText: "text-xs group-hover/table-row:text-text-bright",
1515
stickyCell: "bg-background-bright group-hover/table-row:bg-charcoal-750",
1616
menuButton:
1717
"bg-background-bright group-hover/table-row:bg-charcoal-750 group-hover/table-row:ring-charcoal-600/70 group-has-[[tabindex='0']:focus]/table-row:bg-charcoal-750",
@@ -23,7 +23,7 @@ const variants = {
2323
headerCell: "px-3 py-2.5 pb-3 text-sm",
2424
cell: "group-hover/table-row:bg-charcoal-800 group-has-[[tabindex='0']:focus]/table-row:bg-background-bright",
2525
cellSize: "px-3 py-3",
26-
cellText: "text-xs",
26+
cellText: "text-xs group-hover/table-row:text-text-bright",
2727
stickyCell: "group-hover/table-row:bg-charcoal-800",
2828
menuButton:
2929
"bg-background-dimmed group-hover/table-row:bg-charcoal-800 group-hover/table-row:ring-grid-bright group-has-[[tabindex='0']:focus]/table-row:bg-background-bright",
@@ -35,7 +35,7 @@ const variants = {
3535
headerCell: "px-2 py-1.5 text-sm",
3636
cell: "group-hover/table-row:bg-charcoal-800 group-has-[[tabindex='0']:focus]/table-row:bg-background-bright",
3737
cellSize: "px-2 py-1.5",
38-
cellText: "text-xs font-mono",
38+
cellText: "text-xs font-mono group-hover/table-row:text-text-bright",
3939
stickyCell: "group-hover/table-row:bg-charcoal-800",
4040
menuButton:
4141
"bg-background-dimmed group-hover/table-row:bg-charcoal-800 group-hover/table-row:ring-grid-bright group-has-[[tabindex='0']:focus]/table-row:bg-background-bright",

0 commit comments

Comments
 (0)