Skip to content

Commit c547984

Browse files
committed
style(accent): change accent colors
1 parent 2f06e47 commit c547984

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

web/src/components/internal-ui/ChatBox.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ interface Props {
1414

1515
const ChatBox = ({ messageData, endpoint, request }: Props) => {
1616
const addMessage = useGptStore((s) => s.addMessage);
17-
const { data, error, isLoading } = usePost(endpoint, request);
17+
const { data, error, isPending } = usePost(endpoint, request);
1818

1919
useEffect(() => {
2020
addMessage(UserType.BOT, data?.data.output);
@@ -32,7 +32,7 @@ const ChatBox = ({ messageData, endpoint, request }: Props) => {
3232
>
3333
{messageData.map((message, index) => (
3434
<ChatBubble
35-
isLoading={isLoading}
35+
isLoading={isPending}
3636
key={index}
3737
message={message.content}
3838
userType={message.user}

web/src/components/internal-ui/ChatBubble.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ const ChatBubble = ({ message, userType, isLoading }: Props) => {
1515
}`}
1616
>
1717
<div
18-
className={`chat-bubble ${
19-
userType === UserType.USER ? "bg-stone-800" : ""
18+
className={`chat-bubble ${
19+
userType === UserType.USER ? "bg-stone-600" : ""
2020
}`}
2121
>
2222
{userType === UserType.USER

web/src/components/internal-ui/Landing.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const Landing = () => {
2727
<Button
2828
w="10rem"
2929
mt="16"
30-
bg="orange.800"
30+
bg="orange.700"
3131
disabled={isOpen}
3232
onClick={() => setIsOpen(true)}
3333
>

0 commit comments

Comments
 (0)