Skip to content

Commit

Permalink
fix: bg-color dark, table size oops checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
gularsson committed Dec 4, 2023
1 parent 30715d0 commit 0dc7dd0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/ui/table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ React.ThHTMLAttributes<HTMLTableCellElement>
<th
ref={ref}
className={cn(
'h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0',
'h-8 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0',
className
)}
{...props}
Expand All @@ -84,7 +84,7 @@ React.TdHTMLAttributes<HTMLTableCellElement>
>(({ className, ...props }, ref) => (
<td
ref={ref}
className={cn('p-4 align-middle [&:has([role=checkbox])]:pr-0', className)}
className={cn('p-2 align-middle [&:has([role=checkbox])]:pr-0', className)}
{...props}
/>
))
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export { Button, type ButtonProps } from '@/components/ui/button'
export { default as buttonVariants } from '@/components/ui/buttonVariants'
export { Input, type InputProps } from '@/components/ui/input'
export { Alert, AlertTitle, AlertDescription } from '@/components/ui/alert'
export { Checkbox } from '@/components/ui/checkbox'
export { Popover, PopoverTrigger, PopoverContent } from '@/components/ui/popover'
export {
Sheet,
Expand Down
4 changes: 2 additions & 2 deletions src/styles/layout-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
}

.dark {
--background: 240 10% 3.9%;
--background: 240 15% 12%;
--foreground: 0 0% 98%;

--card: 240 10% 3.9%;
--card-foreground: 0 0% 98%;

--popover: 240 10% 3.9%;
--popover: 240 15% 12%;
--popover-foreground: 0 0% 98%;

--primary: 0 0% 98%;
Expand Down

0 comments on commit 0dc7dd0

Please sign in to comment.