diff --git a/app/components/Input.tsx b/app/components/Input.tsx index a9704e6dbb..18554df835 100644 --- a/app/components/Input.tsx +++ b/app/components/Input.tsx @@ -13,13 +13,7 @@ export function Input({ label, className, ...rest }: InputProps) { )} (e.currentTarget.style.outlineColor = "#e66462")} - onBlur={(e) => (e.currentTarget.style.outlineColor = "transparent")} + className="h-10 rounded-md bg-brand-secondary p-3 text-white transition-all duration-150 ease-in-out outline-none outline-offset-0 focus:outline-brand-primary" {...rest} /> diff --git a/app/components/InputVector.tsx b/app/components/InputVector.tsx index b06081f420..8eb8fbee5c 100644 --- a/app/components/InputVector.tsx +++ b/app/components/InputVector.tsx @@ -20,6 +20,8 @@ export const InputVector = ({ const yRef = useRef(null); const zRef = useRef(null); + const className="h-10 rounded-md bg-brand-secondary p-3 text-white transition-all duration-150 ease-in-out outline-none outline-offset-0 focus:outline-brand-primary"; + function handleOnChange(){ const newVector = { x: Number(xRef.current?.value), @@ -30,9 +32,24 @@ export const InputVector = ({ } return(
- - - + + +
); } \ No newline at end of file