♻️ refactor: move wavy border class to project card theme

This commit is contained in:
Wahyu Kurniawan 2024-02-28 16:40:59 +07:00
parent 07f229e33f
commit 608af57a0d
No known key found for this signature in database
GPG Key ID: 040A1549143A8E33
2 changed files with 2 additions and 4 deletions

View File

@ -47,6 +47,7 @@ export const projectCardTheme = tv({
'items-center',
'gap-2',
],
wavyBorder: ['bg-surface-card', 'group-hover:bg-surface-card-hovered'],
},
variants: {
status: {

View File

@ -100,10 +100,7 @@ export const ProjectCard = ({
</div>
</div>
{/* Wave */}
<WavyBorder
variant="stroke-and-fill"
className="bg-surface-card group-hover:bg-surface-card-hovered"
/>
<WavyBorder variant="stroke-and-fill" className={theme.wavyBorder()} />
{/* Lower content */}
<div className={theme.lowerContent()}>
{/* Latest deployment */}