mirror of
https://github.com/run-llama/chat-ui.git
synced 2026-07-22 03:45:20 -04:00
fix: support dark theme (#24)
* fix: support dark theme * Create thick-rice-leave.md * fix: format
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@llamaindex/chat-ui': patch
|
||||
---
|
||||
|
||||
fix: support dark theme
|
||||
@@ -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
|
||||
)}
|
||||
>
|
||||
|
||||
@@ -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
|
||||
)}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user