update: style of card

This commit is contained in:
purp1e
2024-10-06 19:36:47 +08:00
parent 42b3210584
commit c0c34180ae
3 changed files with 127 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ interface CardProps {
const Card = ({ children }: CardProps) => {
return (
<div
className="dark:from-black/10 dark:to-black/5 dark:border-white/[6%] px-4 pt-3 pb-4 flex flex-col gap-2 border w-full rounded-lg bg-gradient-to-br from-white/50 to-white/40 border-black/[6%]"
className="dark:from-black/10 dark:to-black/5 dark:border-white/[6%] px-4 pt-3 pb-4 flex flex-col gap-2 border w-full rounded-lg bg-white/40 border-black/[6%]"
data-tauri-drag-region
>
{children}