Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Fix avatar colour

Terry Sutton1445d0342c80
diff --git a/packages/ui/src/components/Command/AiCommand.tsx b/packages/ui/src/components/Command/AiCommand.tsx
index 066d94f4d45..4753ff46638 100644
--- a/packages/ui/src/components/Command/AiCommand.tsx
+++ b/packages/ui/src/components/Command/AiCommand.tsx
@@ -245,7 +245,7 @@ const AiCommand = () => {
<>
{prompt.query && (
<div className="flex gap-6 mx-4 [overflow-anchor:none] mb-6">
- <div className="w-7 h-7 bg-scale-900 rounded-full border border-scale-800 flex items-center justify-center text-scale-1200">
+ <div className="w-7 h-7 bg-scale-400 dark:bg-scale-900 rounded-full border border-scale-800 flex items-center justify-center text-scale-800 dark:text-scale-1200">
<IconUser strokeWidth={2} size={16} />
</div>
<div className="prose text-scale-1000">{prompt.query}</div>
diff --git a/packages/ui/src/components/Command/Command.utils.tsx b/packages/ui/src/components/Command/Command.utils.tsx
index 97c2a89408f..8bf68695711 100644
--- a/packages/ui/src/components/Command/Command.utils.tsx
+++ b/packages/ui/src/components/Command/Command.utils.tsx
@@ -88,7 +88,7 @@ export const CommandInput = React.forwardRef<
className={cn(
'flex h-11 w-full rounded-md bg-transparent px-4 py-7 text-sm outline-none',
'focus:shadow-none focus:ring-transparent',
- 'placeholder:text-scale-800 disabled:cursor-not-allowed disabled:opacity-50 dark:text-scale-1200 border-0',
+ 'placeholder:text-scale-800 dark:placeholder:text-scale-800 disabled:cursor-not-allowed disabled:opacity-50 dark:text-scale-1200 border-0',
className
)}
{...props}
@@ -200,12 +200,12 @@ export const CommandItem = React.forwardRef<CommandPrimitiveItemElement, Command
? `
bg-[#fbfcfd]/90
dark:bg-[#232323]/90
- border
+ border
border-[#ddd]/90
dark:border-[#282828]/90
backdrop-filter
backdrop-blur-md
- px-5
+ px-5
transition-all
outline-none
aria-selected:border-[#ccc]
@@ -217,7 +217,7 @@ export const CommandItem = React.forwardRef<CommandPrimitiveItemElement, Command
data-[disabled]:pointer-events-none data-[disabled]:opacity-50`
: type === 'link'
? `
- px-2
+ px-2
backdrop-filter
backdrop-blur-md
transition-all