Skip to content

Commit 7fa6fd4

Browse files
committed
fix: textarea border and placeholder color in dark theme
1 parent 68097bd commit 7fa6fd4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

components/retroui/Textarea.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React from "react";
2+
import { cn } from "@/lib/utils";
23

34
export function Textarea({
45
type = "text",
@@ -10,7 +11,10 @@ export function Textarea({
1011
<textarea
1112
placeholder={placeholder}
1213
rows={4}
13-
className={`px-4 py-2 w-full border-2 border-black shadow-md transition focus:outline-hidden focus:shadow-xs ${className}`}
14+
className={cn(
15+
"px-4 py-2 w-full border-2 border-border shadow-md transition focus:outline-hidden focus:shadow-xs placeholder:text-muted-foreground",
16+
className
17+
)}
1418
{...props}
1519
/>
1620
);

0 commit comments

Comments
 (0)