From bde591006e0f4c45d03e6f73e7ff80d0657aa50d Mon Sep 17 00:00:00 2001 From: Anirudh <70373803+techwithanirudh@users.noreply.github.com> Date: Tue, 7 Jan 2025 05:29:29 +0000 Subject: [PATCH] fix: use foreground colors for AI CHat --- frontend/components/editor/AIChat/ChatMessage.tsx | 6 +++--- frontend/components/editor/navbar/deploy.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/components/editor/AIChat/ChatMessage.tsx b/frontend/components/editor/AIChat/ChatMessage.tsx index 8e93c17..05a31bc 100644 --- a/frontend/components/editor/AIChat/ChatMessage.tsx +++ b/frontend/components/editor/AIChat/ChatMessage.tsx @@ -126,8 +126,8 @@ export default function ChatMessage({
{/* Render context tabs */} @@ -171,7 +171,7 @@ export default function ChatMessage({ end: e.target.value.split("\n").length, }) }} - className="w-full p-2 bg-[#1e1e1e] text-white font-mono text-sm rounded" + className="w-full p-2 bg-[#1e1e1e] text-foreground font-mono text-sm rounded" rows={code.split("\n").length} style={{ resize: "vertical", diff --git a/frontend/components/editor/navbar/deploy.tsx b/frontend/components/editor/navbar/deploy.tsx index c1a1f4f..c9e1666 100644 --- a/frontend/components/editor/navbar/deploy.tsx +++ b/frontend/components/editor/navbar/deploy.tsx @@ -75,7 +75,7 @@ export default function DeployButtonModal({