Commit 0a7337c 1 parent 5e3d7dd commit 0a7337c Copy full SHA for 0a7337c
File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const TableHeader = React.forwardRef<
20
20
HTMLTableSectionElement ,
21
21
React . HTMLAttributes < HTMLTableSectionElement >
22
22
> ( ( { className, ...props } , ref ) => (
23
- < thead ref = { ref } className = { cn ( "[&_tr]:border-b" , className ) } { ...props } />
23
+ < thead ref = { ref } className = { cn ( "[&_tr]:border-b bg-paper " , className ) } { ...props } />
24
24
) )
25
25
TableHeader . displayName = "TableHeader"
26
26
@@ -30,7 +30,7 @@ const TableBody = React.forwardRef<
30
30
> ( ( { className, ...props } , ref ) => (
31
31
< tbody
32
32
ref = { ref }
33
- className = { cn ( "[&_tr:last-child]:border-0" , className ) }
33
+ className = { cn ( "[&_tr:last-child]:border-0 bg-paper " , className ) }
34
34
{ ...props }
35
35
/>
36
36
) )
@@ -88,7 +88,7 @@ const TableCell = React.forwardRef<
88
88
< td
89
89
ref = { ref }
90
90
className = { cn (
91
- "p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]" ,
91
+ "p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px] bg-paper " ,
92
92
className
93
93
) }
94
94
{ ...props }
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ export const tailwindTheme = {
18
18
ring : "hsl(var(--ring))" ,
19
19
background : "hsl(var(--background))" ,
20
20
foreground : "hsl(var(--foreground))" ,
21
+ paper : "hsl(var(--paper))" ,
21
22
primary : {
22
23
DEFAULT : "hsl(var(--primary))" ,
23
24
foreground : "hsl(var(--primary-foreground))" ,
You can’t perform that action at this time.
0 commit comments