From c588745819e87bb44a0dc8932c722b031150793e Mon Sep 17 00:00:00 2001 From: Sam Keen Date: Tue, 12 Apr 2022 01:02:16 +0100 Subject: [PATCH] Fix/233 Improved input legibility for placeholder and typed text (#236) --- libs/ui-toolkit/src/components/input/input.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ui-toolkit/src/components/input/input.tsx b/libs/ui-toolkit/src/components/input/input.tsx index 379bc75de..ebacc005e 100644 --- a/libs/ui-toolkit/src/components/input/input.tsx +++ b/libs/ui-toolkit/src/components/input/input.tsx @@ -31,7 +31,7 @@ export const inputClassNames = ({ 'bg-clip-padding', 'border-black-60 dark:border-white-60', 'bg-black-25 dark:bg-white-25', - 'text-black-60 dark:text-white-60', + 'text-black placeholder:text-black-60 dark:text-white dark:placeholder:text-white-60', 'text-ui', 'focus-visible:shadow-focus dark:focus-visible:shadow-focus-dark', 'focus-visible:outline-0',