♻️ 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', 'items-center',
'gap-2', 'gap-2',
], ],
wavyBorder: ['bg-surface-card', 'group-hover:bg-surface-card-hovered'],
}, },
variants: { variants: {
status: { status: {

View File

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