fix(ui): resolve table dark mode styling issues

- Update Table component to use bg-surface instead of hardcoded bg-white
- Fix TableRow hover and selected states to use design system tokens
- Update virtualized tables in agents, collections, and tool-search pages
This commit is contained in:
Ajax Davis 2026-01-18 01:51:41 +10:00
parent 257aa55282
commit c677110bfe
4 changed files with 6 additions and 6 deletions

View file

@ -83,9 +83,9 @@ const TableRow = forwardRef<HTMLTableRowElement, TableRowProps>(
<tr
ref={ref}
className={cn(
'border-b border-border bg-white dark:bg-zinc-900 transition-colors',
interactive && 'cursor-pointer hover:bg-surface',
selected && 'bg-surface',
'border-b border-border bg-surface transition-colors',
interactive && 'cursor-pointer hover:bg-surface-secondary',
selected && 'bg-surface-secondary',
className
)}
{...props}