Skip to content

Commit 4be0a84

Browse files
committed
fix: use theme-aware text and border colors in chat composer
The composer textarea inherited hardcoded text-slate-950 from the base Textarea component, making text nearly invisible in dark mode. Replace with CSS-variable-driven classes for proper dark/light adaptation.
1 parent f2f2752 commit 4be0a84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/chat-composer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export function ChatComposer({
6868
<Textarea
6969
id={chatComposerId}
7070
name={chatComposerId}
71-
className="h-[84px] w-full min-w-0 resize-none rounded-2xl border-slate-300 bg-muted/60 p-3 text-sm transition-all placeholder:text-muted-foreground hover:border-slate-400 focus-visible:border-primary focus-visible:ring-0 sm:p-3.5"
71+
className="h-[84px] w-full min-w-0 resize-none rounded-2xl border-input bg-muted/60 p-3 text-sm text-foreground transition-all placeholder:text-muted-foreground hover:border-primary/50 focus-visible:border-primary focus-visible:ring-0 sm:p-3.5"
7272
placeholder={
7373
isDisabled
7474
? "Upload a document to start asking questions."

0 commit comments

Comments
 (0)