@@ -624,18 +624,18 @@ const DataTableRenderer = ({ schema }: { schema: DataTableSchema }) => {
624624 < div className = "rounded-md border flex-1 min-h-0 overflow-auto relative bg-background [-webkit-overflow-scrolling:touch] shadow-[inset_-8px_0_8px_-8px_rgba(0,0,0,0.08)]" >
625625 < Table >
626626 { caption && < TableCaption > { caption } </ TableCaption > }
627- < TableHeader className = "sticky top-0 bg-background z-10 shadow-sm " >
627+ < TableHeader className = "sticky top-0 bg-muted/30 z-10" >
628628 < TableRow >
629629 { selectable && (
630- < TableHead className = { cn ( "w-12 bg-background " , frozenColumns > 0 && "sticky left-0 z-20" ) } >
630+ < TableHead className = { cn ( "w-12 bg-muted/30 " , frozenColumns > 0 && "sticky left-0 z-20" ) } >
631631 < Checkbox
632632 checked = { allPageRowsSelected ? true : somePageRowsSelected ? 'indeterminate' : false }
633633 onCheckedChange = { handleSelectAll }
634634 />
635635 </ TableHead >
636636 ) }
637637 { showRowNumbers && (
638- < TableHead className = { cn ( "w-12 bg-background text-center" , frozenColumns > 0 && "sticky z-20" ) } style = { frozenColumns > 0 ? { left : selectable ? 48 : 0 } : undefined } >
638+ < TableHead className = { cn ( "w-12 bg-muted/30 text-center" , frozenColumns > 0 && "sticky z-20" ) } style = { frozenColumns > 0 ? { left : selectable ? 48 : 0 } : undefined } >
639639 < span className = "text-xs text-muted-foreground" > #</ span >
640640 </ TableHead >
641641 ) }
@@ -664,7 +664,7 @@ const DataTableRenderer = ({ schema }: { schema: DataTableSchema }) => {
664664 isDragOver && 'border-l-2 border-primary' ,
665665 col . align === 'right' && 'text-right' ,
666666 col . align === 'center' && 'text-center' ,
667- 'relative group bg-background ' ,
667+ 'relative group bg-muted/30 ' ,
668668 isFrozen && 'sticky z-20' ,
669669 isFrozen && index === frozenColumns - 1 && 'border-r-2 border-border shadow-[2px_0_4px_-2px_rgba(0,0,0,0.1)]' ,
670670 ) }
@@ -692,7 +692,7 @@ const DataTableRenderer = ({ schema }: { schema: DataTableSchema }) => {
692692 { col . headerIcon && (
693693 < span className = "text-muted-foreground flex-shrink-0" > { col . headerIcon } </ span >
694694 ) }
695- < span > { col . header } </ span >
695+ < span className = "text-[11px] font-semibold uppercase tracking-wider text-muted-foreground/70" > { col . header } </ span >
696696 { sortable && col . sortable !== false && getSortIcon ( col . accessorKey ) }
697697 </ div >
698698 { resizableColumns && col . resizable !== false && (
@@ -707,7 +707,7 @@ const DataTableRenderer = ({ schema }: { schema: DataTableSchema }) => {
707707 ) ;
708708 } ) }
709709 { rowActions && (
710- < TableHead className = "w-24 text-right bg-background " > Actions</ TableHead >
710+ < TableHead className = "w-24 text-right bg-muted/30 " > Actions</ TableHead >
711711 ) }
712712 </ TableRow >
713713 </ TableHeader >
0 commit comments