fix: use foreground colors for AI CHat

This commit is contained in:
Anirudh 2025-01-07 05:29:29 +00:00 committed by James Murdza
parent 94ffbaf60f
commit bde591006e
2 changed files with 4 additions and 4 deletions

View File

@ -126,8 +126,8 @@ export default function ChatMessage({
<div <div
className={`relative p-2 rounded-lg ${ className={`relative p-2 rounded-lg ${
message.role === "user" message.role === "user"
? "bg-[#262626] text-white" ? "bg-[#262626] text-foreground"
: "bg-transparent text-white" : "bg-transparent text-foreground"
} max-w-full`} } max-w-full`}
> >
{/* Render context tabs */} {/* Render context tabs */}
@ -171,7 +171,7 @@ export default function ChatMessage({
end: e.target.value.split("\n").length, 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} rows={code.split("\n").length}
style={{ style={{
resize: "vertical", resize: "vertical",

View File

@ -75,7 +75,7 @@ export default function DeployButtonModal({
</div> </div>
<Button <Button
variant="outline" variant="outline"
className="mt-4 w-full bg-[#0a0a0a] text-white hover:bg-[#262626]" className="mt-4 w-full bg-[#0a0a0a] text-foreground hover:bg-[#262626]"
onClick={handleDeploy} onClick={handleDeploy}
> >
{isDeploying ? "Deploying..." : isDeployed ? "Update" : "Deploy"} {isDeploying ? "Deploying..." : isDeployed ? "Update" : "Deploy"}