@@ -29,17 +29,17 @@ const iconMap = {
2929}
3030
3131const iconColorMap = {
32- userPlus : 'text-blue-500 dark:text-blue-400 ' ,
33- mail : 'text-blue-500 dark:text-blue-400 ' ,
34- users : 'text-blue-500 dark:text-blue-400 ' ,
32+ userPlus : 'text-[#701ffc] ' ,
33+ mail : 'text-[#701ffc] ' ,
34+ users : 'text-[#701ffc] ' ,
3535 error : 'text-red-500 dark:text-red-400' ,
3636 success : 'text-green-500 dark:text-green-400' ,
3737}
3838
3939const iconBgMap = {
40- userPlus : 'bg-blue-50 dark:bg-blue-950/20 ' ,
41- mail : 'bg-blue-50 dark:bg-blue-950/20 ' ,
42- users : 'bg-blue-50 dark:bg-blue-950/20 ' ,
40+ userPlus : 'bg-[#701ffc]/10 ' ,
41+ mail : 'bg-[#701ffc]/10 ' ,
42+ users : 'bg-[#701ffc]/10 ' ,
4343 error : 'bg-red-50 dark:bg-red-950/20' ,
4444 success : 'bg-green-50 dark:bg-green-950/20' ,
4545}
@@ -58,7 +58,7 @@ export function InviteStatusCard({
5858 return (
5959 < div className = 'flex w-full max-w-md flex-col items-center' >
6060 < LoadingAgent size = 'lg' />
61- < p className = 'mt-4 text-gray-400 text-sm' > { description } </ p >
61+ < p className = 'mt-4 text-muted-foreground text-sm' > { description } </ p >
6262 </ div >
6363 )
6464 }
@@ -75,15 +75,15 @@ export function InviteStatusCard({
7575 </ div >
7676 ) }
7777
78- < h1 className = 'mb-2 font-semibold text-black text-xl dark:text-white ' > { title } </ h1 >
78+ < h1 className = 'mb-2 font-semibold text-[32px] text-white tracking-tight ' > { title } </ h1 >
7979
80- < p className = 'mb-6 text-gray-600 text-sm leading-relaxed dark:text-gray-300 ' > { description } </ p >
80+ < p className = 'mb-6 text-neutral-400 text-sm leading-relaxed' > { description } </ p >
8181
8282 < div className = 'flex w-full flex-col gap-3' >
8383 { isExpiredError && (
8484 < Button
8585 variant = 'outline'
86- className = 'w-full border-brand-primary text-brand-primary hover:bg-brand-primary hover:text-white'
86+ className = 'h-11 w-full border-[var(-- brand-primary-hex)] font-medium text-[var(-- brand-primary-hex)] text-base transition-colors duration-200 hover:bg-[var(-- brand-primary-hex)] hover:text-white'
8787 onClick = { ( ) => router . push ( '/' ) }
8888 >
8989 < RotateCcw className = 'mr-2 h-4 w-4' />
@@ -96,16 +96,11 @@ export function InviteStatusCard({
9696 key = { index }
9797 variant = { action . variant || 'default' }
9898 className = {
99- action . variant === 'default'
100- ? 'w-full'
99+ ( action . variant || 'default' ) === 'default'
100+ ? 'h-11 w-full bg-brand-primary font-medium text-base text-white shadow-[var(--brand-primary-hex)]/20 shadow-lg transition-colors duration-200 hover:bg-brand-primary-hover '
101101 : action . variant === 'outline'
102- ? 'w-full border-brand-primary text-brand-primary hover:bg-brand-primary hover:text-white'
103- : 'w-full text-gray-600 hover:bg-gray-200 hover:text-black dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-white'
104- }
105- style = {
106- action . variant === 'default'
107- ? { backgroundColor : 'var(--brand-primary-hex)' , color : 'white' }
108- : undefined
102+ ? 'h-11 w-full border-[var(--brand-primary-hex)] font-medium text-[var(--brand-primary-hex)] text-base transition-colors duration-200 hover:bg-[var(--brand-primary-hex)] hover:text-white'
103+ : 'h-11 w-full text-muted-foreground hover:bg-secondary hover:text-foreground'
109104 }
110105 onClick = { action . onClick }
111106 disabled = { action . disabled || action . loading }
0 commit comments