style: redesigned card component

This commit is contained in:
robin committed 2026-07-27 16:58:41 +02:00
1 parent 43054e98ad
commit cbe0bd6e1d
2 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ interface CardProps extends ComponentPropsWithoutRef<"section"> {
export default function Card({ title, hasLeftBorder = false, children, className = "", ...props }: CardProps) {
return (
<section
className={`p-5 flex flex-col justify-between ${className}`}
className={`p-5 flex flex-col justify-between ${className} bg-slate-400/30 dark:bg-slate-700/30 rounded-xl`}
{...props}
>
<h2 className="text-lg font-semibold mb-4 flex items-center gap-2">