Skip to content

Commit e2990db

Browse files
authored
Add dark mode support for AI Assistant images
Signed-off-by: Owen <owenwahlgren@gmail.com>
1 parent e9468ba commit e2990db

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

components/ai/search.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ function SmallViewContent({ onExpand }: { onExpand: () => void }) {
579579
<img
580580
src="/avax-gpt.png"
581581
alt="AI"
582-
className="size-6 object-contain"
582+
className="size-6 object-contain dark:invert"
583583
/>
584584
<DialogTitle className="text-sm font-semibold">AI Assistant</DialogTitle>
585585
</div>
@@ -613,7 +613,7 @@ function SmallViewContent({ onExpand }: { onExpand: () => void }) {
613613
<img
614614
src="/avax-gpt.png"
615615
alt="AI"
616-
className="mx-auto size-12 object-contain mb-4"
616+
className="mx-auto size-12 object-contain mb-4 dark:invert"
617617
/>
618618
<h3 className="text-sm font-medium">How can I help?</h3>
619619
<p className="text-xs text-fd-muted-foreground">
@@ -644,7 +644,7 @@ function SmallViewContent({ onExpand }: { onExpand: () => void }) {
644644
<img
645645
src="/avax-gpt.png"
646646
alt="AI"
647-
className="size-7 object-contain"
647+
className="size-7 object-contain dark:invert"
648648
/>
649649
<p className="text-xs font-medium text-muted-foreground">AI Assistant</p>
650650
</div>
@@ -716,7 +716,7 @@ function Content({ onToolReference, onCollapse }: { onToolReference?: (toolId: s
716716
<img
717717
src="/avax-gpt.png"
718718
alt="AI"
719-
className="size-7 object-contain"
719+
className="size-7 object-contain dark:invert"
720720
/>
721721
<DialogTitle className="text-lg font-semibold">AI Assistant</DialogTitle>
722722
</div>
@@ -753,7 +753,7 @@ function Content({ onToolReference, onCollapse }: { onToolReference?: (toolId: s
753753
<img
754754
src="/avax-gpt.png"
755755
alt="AI"
756-
className="mx-auto size-16 object-contain mb-6"
756+
className="mx-auto size-16 object-contain mb-6 dark:invert"
757757
/>
758758
<h3 className="text-lg font-medium">How can I help you today?</h3>
759759
<p className="text-sm text-fd-muted-foreground">
@@ -799,7 +799,7 @@ function Content({ onToolReference, onCollapse }: { onToolReference?: (toolId: s
799799
<img
800800
src="/avax-gpt.png"
801801
alt="AI"
802-
className="size-7 object-contain"
802+
className="size-7 object-contain dark:invert"
803803
/>
804804
<p className="text-xs font-medium text-muted-foreground">AI Assistant</p>
805805
</div>

0 commit comments

Comments
 (0)