From 1ede0644572c339c5c06d198cdd7a8ba66942fc3 Mon Sep 17 00:00:00 2001 From: Justin Date: Wed, 1 Jun 2022 14:18:01 -0400 Subject: [PATCH] Use white text on dark inputs --- app/soapbox/components/ui/input/input.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/soapbox/components/ui/input/input.tsx b/app/soapbox/components/ui/input/input.tsx index 0b18261a6..183b40b04 100644 --- a/app/soapbox/components/ui/input/input.tsx +++ b/app/soapbox/components/ui/input/input.tsx @@ -64,8 +64,8 @@ const Input = React.forwardRef( type={revealed ? 'text' : type} ref={ref} className={classNames({ - 'dark:bg-slate-800 block w-full sm:text-sm border-gray-300 dark:border-gray-600 rounded-md focus:ring-indigo-500 focus:border-indigo-500': - true, + 'dark:bg-slate-800 dark:text-white block w-full sm:text-sm border-gray-300 dark:border-gray-600 rounded-md focus:ring-indigo-500 focus:border-indigo-500': + true, 'pr-7': isPassword, 'text-red-600 border-red-600': hasError, 'pl-8': typeof icon !== 'undefined',