fix: use foreground colors for AI CHat
This commit is contained in:
parent
94ffbaf60f
commit
bde591006e
@ -126,8 +126,8 @@ export default function ChatMessage({
|
||||
<div
|
||||
className={`relative p-2 rounded-lg ${
|
||||
message.role === "user"
|
||||
? "bg-[#262626] text-white"
|
||||
: "bg-transparent text-white"
|
||||
? "bg-[#262626] text-foreground"
|
||||
: "bg-transparent text-foreground"
|
||||
} max-w-full`}
|
||||
>
|
||||
{/* 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",
|
||||
|
@ -75,7 +75,7 @@ export default function DeployButtonModal({
|
||||
</div>
|
||||
<Button
|
||||
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}
|
||||
>
|
||||
{isDeploying ? "Deploying..." : isDeployed ? "Update" : "Deploy"}
|
||||
|
Loading…
x
Reference in New Issue
Block a user