fix: support dark theme (#24)

* fix: support dark theme

* Create thick-rice-leave.md

* fix: format
This commit is contained in:
Thuc Pham
2024-11-14 15:28:55 +07:00
committed by GitHub
parent 1c0a0581ac
commit 1d8984143b
3 changed files with 7 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@llamaindex/chat-ui': patch
---
fix: support dark theme
+1 -1
View File
@@ -90,7 +90,7 @@ function ChatInput(props: ChatInputProps) {
<ChatInputProvider value={{ isDisabled, handleKeyDown, handleSubmit }}>
<div
className={cn(
'flex shrink-0 flex-col gap-4 bg-white p-4',
'bg-background flex shrink-0 flex-col gap-4 p-4',
props.className
)}
>
+1 -1
View File
@@ -72,7 +72,7 @@ function ChatMessages(props: ChatMessagesProps) {
>
<div
className={cn(
'relative flex-1 space-y-6 bg-white p-4',
'bg-background relative flex-1 space-y-6 p-4',
props.className
)}
>