♻️ refactor: move wavy border class to project card theme
This commit is contained in:
parent
07f229e33f
commit
608af57a0d
@ -47,6 +47,7 @@ export const projectCardTheme = tv({
|
||||
'items-center',
|
||||
'gap-2',
|
||||
],
|
||||
wavyBorder: ['bg-surface-card', 'group-hover:bg-surface-card-hovered'],
|
||||
},
|
||||
variants: {
|
||||
status: {
|
||||
|
@ -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 */}
|
||||
|
Loading…
Reference in New Issue
Block a user