From 0ffdbd3304337847f40b82fdfa705753b3ba7106 Mon Sep 17 00:00:00 2001 From: Wahyu Kurniawan Date: Wed, 28 Feb 2024 15:05:58 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20style:=20add=20hover=20interacti?= =?UTF-8?q?on=20to=20the=20card?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/projects/ProjectCard/ProjectCard.theme.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/frontend/src/components/projects/ProjectCard/ProjectCard.theme.ts b/packages/frontend/src/components/projects/ProjectCard/ProjectCard.theme.ts index 41cfe1c8..9ac46497 100644 --- a/packages/frontend/src/components/projects/ProjectCard/ProjectCard.theme.ts +++ b/packages/frontend/src/components/projects/ProjectCard/ProjectCard.theme.ts @@ -8,6 +8,7 @@ export const projectCardTheme = tv({ 'rounded-2xl', 'flex', 'flex-col', + 'group', ], upperContent: ['px-4', 'py-4', 'flex', 'items-start', 'gap-3', 'relative'], content: ['flex', 'flex-col', 'gap-1', 'flex-1'], @@ -20,7 +21,7 @@ export const projectCardTheme = tv({ description: ['text-xs', 'text-elements-low-em'], icons: ['flex', 'items-center', 'gap-1'], lowerContent: [ - 'bg-surface-card-hovered', + 'group-hover:bg-surface-card-hovered', 'px-4', 'py-4', 'flex',