From 59f60d2184c9e5f33b1af6c06379d04d416d7c99 Mon Sep 17 00:00:00 2001 From: Caio Cabral Date: Wed, 15 Jan 2025 07:55:22 -0500 Subject: [PATCH] fix inputs --- Client/src/Components/Inputs/TextInput/index.jsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Client/src/Components/Inputs/TextInput/index.jsx b/Client/src/Components/Inputs/TextInput/index.jsx index 022d286d8..3ffc592bf 100644 --- a/Client/src/Components/Inputs/TextInput/index.jsx +++ b/Client/src/Components/Inputs/TextInput/index.jsx @@ -6,6 +6,14 @@ import PropTypes from "prop-types"; const getSx = (theme, type, maxWidth) => { const sx = { maxWidth: maxWidth, + "& .MuiOutlinedInput-root ": { + "&:hover .MuiOutlinedInput-notchedOutline": { + borderColor: theme.palette.primary.contrastText, // Adjust hover border color + }, + "&.Mui-focused .MuiOutlinedInput-notchedOutline": { + borderColor: theme.palette.accent.main, // Adjust focus border color + }, + }, "& .MuiFormHelperText-root": { position: "absolute", bottom: `-${theme.spacing(24)}`, @@ -129,6 +137,7 @@ const TextInput = forwardRef( }, }} disabled={disabled} + color="secondary" /> );