🎨 style: add transition when hover
This commit is contained in:
parent
608af57a0d
commit
6f04e4e97e
@ -21,13 +21,15 @@ 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: [
|
||||||
'group-hover:bg-surface-card-hovered',
|
'transition-colors',
|
||||||
|
'duration-150',
|
||||||
'px-4',
|
'px-4',
|
||||||
'py-4',
|
'py-4',
|
||||||
'flex',
|
'flex',
|
||||||
'flex-col',
|
'flex-col',
|
||||||
'gap-2',
|
'gap-2',
|
||||||
'rounded-b-2xl',
|
'rounded-b-2xl',
|
||||||
|
'group-hover:bg-surface-card-hovered',
|
||||||
],
|
],
|
||||||
latestDeployment: ['flex', 'items-center', 'gap-2'],
|
latestDeployment: ['flex', 'items-center', 'gap-2'],
|
||||||
deploymentStatusContainer: [
|
deploymentStatusContainer: [
|
||||||
@ -47,7 +49,12 @@ export const projectCardTheme = tv({
|
|||||||
'items-center',
|
'items-center',
|
||||||
'gap-2',
|
'gap-2',
|
||||||
],
|
],
|
||||||
wavyBorder: ['bg-surface-card', 'group-hover:bg-surface-card-hovered'],
|
wavyBorder: [
|
||||||
|
'bg-surface-card',
|
||||||
|
'transition-colors',
|
||||||
|
'duration-150',
|
||||||
|
'group-hover:bg-surface-card-hovered',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
variants: {
|
variants: {
|
||||||
status: {
|
status: {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import templates from 'assets/templates';
|
import templates from 'assets/templates';
|
||||||
import { RepositoryList } from 'components/projects/create/RepositoryList';
|
import RepositoryList from 'components/projects/create/RepositoryList';
|
||||||
import ConnectAccount from 'components/projects/create/ConnectAccount';
|
import ConnectAccount from 'components/projects/create/ConnectAccount';
|
||||||
import { useOctokit } from 'context/OctokitContext';
|
import { useOctokit } from 'context/OctokitContext';
|
||||||
import { Heading } from 'components/shared/Heading';
|
import { Heading } from 'components/shared/Heading';
|
||||||
|
Loading…
Reference in New Issue
Block a user