Skip to content

Commit 18e04fb

Browse files
Add dark mode support to InputWithCopy and (#19011)
TextInputField components
1 parent 59fb058 commit 18e04fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/dashboard/src/components/InputWithCopy.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const InputWithCopy: FC<Props> = ({ value, tip = "Click to copy", classNa
3131
return (
3232
// max-w-lg is to mirror width of TextInput so Tooltip is positioned correctly
3333
<div className={`w-full relative max-w-lg ${className ?? ""}`}>
34-
<TextInput value={value} disabled className="w-full pr-8 overscroll-none" />
34+
<TextInput value={value} disabled className="w-full pr-8 overscroll-none dark:text-[#A8A29E]" />
3535

3636
<Tooltip content={tip} className="absolute top-1.5 right-1">
3737
<Button

components/dashboard/src/components/forms/TextInputField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export const TextInput: FunctionComponent<TextInputProps> = memo(
9797
return (
9898
<input
9999
id={id}
100-
className={classNames("w-full max-w-lg", className)}
100+
className={classNames("w-full max-w-lg dark:text-[#A8A29E]", className)}
101101
value={value}
102102
type={type}
103103
placeholder={placeholder}

0 commit comments

Comments
 (0)