@@ -54,8 +54,8 @@ export default function Input({
5454
5555 return (
5656 <Flex
57− className={cn(className, 'mb1')}
5857 col
58+ className={cn(className, 'mb1')}
5959 style={{
6060 ...(disabled && {
6161 pointerEvents: 'none',
@@ -71,8 +71,9 @@ export default function Input({
7171 htmlFor={name}>
7272 {label}
7373 </Flex.Item>
74− <Flex.Item as={Flex} className="rel" row>
74+ <Flex.Item as={Flex} row className="rel">
7575 <Flex.Item
76+ flex
7677 as={type === 'textarea' ? 'textarea' : 'input'}
7778 type={type === 'textarea' ? undefined : type}
7879 {...rest}
@@ -86,21 +87,20 @@ export default function Input({
8687 'bg-gray1': disabled,
8788 },
8889 {
89− gray4: !active && !touched,
90+ gray4: !(active || touched),
9091 black: active || touched,
9192 },
9293 {
9394 'b-green3': valid,
94− 'b-black': active && !valid,
95− 'b-yellow3': !active && touched && error,
96− 'b-gray2': !active && !error && !valid,
95+ 'b-black': !valid && active,
96+ 'b-yellow3': !valid && !active && touched && error,
97+ 'b-gray2': !valid && !active && !touched && !error,
9798 }
9899 )}
99100 id={name}
100101 name={name}
101102 onKeyPress={onKeyPress}
102103 {...input}
103− flex
104104 />
105105 {accessory && (
106106 <div