🎨 style: add hover interaction to the card
This commit is contained in:
parent
33aa75e341
commit
0ffdbd3304
@ -8,6 +8,7 @@ export const projectCardTheme = tv({
|
|||||||
'rounded-2xl',
|
'rounded-2xl',
|
||||||
'flex',
|
'flex',
|
||||||
'flex-col',
|
'flex-col',
|
||||||
|
'group',
|
||||||
],
|
],
|
||||||
upperContent: ['px-4', 'py-4', 'flex', 'items-start', 'gap-3', 'relative'],
|
upperContent: ['px-4', 'py-4', 'flex', 'items-start', 'gap-3', 'relative'],
|
||||||
content: ['flex', 'flex-col', 'gap-1', 'flex-1'],
|
content: ['flex', 'flex-col', 'gap-1', 'flex-1'],
|
||||||
@ -20,7 +21,7 @@ export const projectCardTheme = tv({
|
|||||||
description: ['text-xs', 'text-elements-low-em'],
|
description: ['text-xs', 'text-elements-low-em'],
|
||||||
icons: ['flex', 'items-center', 'gap-1'],
|
icons: ['flex', 'items-center', 'gap-1'],
|
||||||
lowerContent: [
|
lowerContent: [
|
||||||
'bg-surface-card-hovered',
|
'group-hover:bg-surface-card-hovered',
|
||||||
'px-4',
|
'px-4',
|
||||||
'py-4',
|
'py-4',
|
||||||
'flex',
|
'flex',
|
||||||
|
Loading…
Reference in New Issue
Block a user