Changed Chat modal to work with dark mode
This commit is contained in:
parent
2961fc25a7
commit
d01db97cd3
1 changed files with 4 additions and 4 deletions
|
|
@ -181,7 +181,7 @@ export default function ChatModal({
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
setErrorData({
|
setErrorData({
|
||||||
title: "There was an erro sending the message",
|
title: "There was an error sending the message",
|
||||||
list: [error.message],
|
list: [error.message],
|
||||||
});
|
});
|
||||||
setChatValue(data.message);
|
setChatValue(data.message);
|
||||||
|
|
@ -325,7 +325,7 @@ export default function ChatModal({
|
||||||
<div className="relative w-full">
|
<div className="relative w-full">
|
||||||
<button
|
<button
|
||||||
onClick={() => clearChat()}
|
onClick={() => clearChat()}
|
||||||
className="absolute top-2 right-2 hover:text-red-500"
|
className="absolute top-2 right-2 hover:text-red-500 dark:text-gray-300 dark:hover:text-red-500"
|
||||||
>
|
>
|
||||||
<FaEraser className="w-4 h-4" />
|
<FaEraser className="w-4 h-4" />
|
||||||
</button>
|
</button>
|
||||||
|
|
@ -337,12 +337,12 @@ export default function ChatModal({
|
||||||
<div className="flex flex-col h-full text-center justify-center w-full items-center align-middle ">
|
<div className="flex flex-col h-full text-center justify-center w-full items-center align-middle ">
|
||||||
<span>
|
<span>
|
||||||
👋{" "}
|
👋{" "}
|
||||||
<span className="text-gray-600 text-lg">
|
<span className="text-gray-600 dark:text-gray-300 text-lg">
|
||||||
LangFlow Chat
|
LangFlow Chat
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
<br />
|
<br />
|
||||||
<div className="bg-gray-100 rounded-md w-2/4 px-6 py-8 border border-gray-200">
|
<div className="bg-gray-100 dark:bg-gray-900 rounded-md w-2/4 px-6 py-8 border border-gray-200 dark:border-gray-700">
|
||||||
<span className="text-base text-gray-500">
|
<span className="text-base text-gray-500">
|
||||||
Start a conversation and click the agent’s thoughts{" "}
|
Start a conversation and click the agent’s thoughts{" "}
|
||||||
<span>
|
<span>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue