mirror of https://github.com/kortix-ai/suna.git
wip
This commit is contained in:
parent
e168505f3a
commit
8c7714d1ab
|
@ -89,12 +89,12 @@ export function ModelProviderIcon({
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
"flex items-center justify-center bg-muted border flex-shrink-0",
|
"flex items-center justify-center bg-muted dark:bg-zinc-800 border dark:border-zinc-700 flex-shrink-0",
|
||||||
className
|
className
|
||||||
)}
|
)}
|
||||||
style={{ width: size, height: size, ...borderRadiusStyle }}
|
style={{ width: size, height: size, ...borderRadiusStyle }}
|
||||||
>
|
>
|
||||||
<Cpu size={size * 0.6} className="text-muted-foreground" />
|
<Cpu size={size * 0.6} className="text-muted-foreground dark:text-zinc-200" />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -102,7 +102,7 @@ export function ModelProviderIcon({
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
"flex items-center justify-center bg-background border flex-shrink-0",
|
"flex items-center justify-center bg-background dark:bg-zinc-800 border dark:border-zinc-700 flex-shrink-0",
|
||||||
className
|
className
|
||||||
)}
|
)}
|
||||||
style={{ width: size, height: size, ...borderRadiusStyle }}
|
style={{ width: size, height: size, ...borderRadiusStyle }}
|
||||||
|
@ -110,10 +110,10 @@ export function ModelProviderIcon({
|
||||||
<Image
|
<Image
|
||||||
src={iconSrc}
|
src={iconSrc}
|
||||||
alt={`${provider} icon`}
|
alt={`${provider} icon`}
|
||||||
width={size * 0.9} // Increase to 90% for maximum visibility
|
width={size * 0.6} // Match agent avatar spacing
|
||||||
height={size * 0.9}
|
height={size * 0.6}
|
||||||
className="object-contain dark:brightness-0 dark:invert"
|
className="object-contain dark:brightness-0 dark:invert"
|
||||||
style={{ width: size * 0.9, height: size * 0.9 }}
|
style={{ width: size * 0.6, height: size * 0.6 }}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue