fill color changed to pink
This commit is contained in:
@@ -79,6 +79,21 @@ const Login = () => {
|
|||||||
margin="normal"
|
margin="normal"
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
required
|
required
|
||||||
|
sx={{
|
||||||
|
'& .MuiOutlinedInput-root': {
|
||||||
|
backgroundColor: email ? '#ffe6f9' : '#ffffff',
|
||||||
|
// backgroundColor: ' #ffe6f9', // Change fill color here
|
||||||
|
'& fieldset': {
|
||||||
|
borderColor: '#ff33cc', // Border color (optional)
|
||||||
|
},
|
||||||
|
'&:hover fieldset': {
|
||||||
|
borderColor: '#ff33cc', // Hover border color (optional)
|
||||||
|
},
|
||||||
|
'&.Mui-focused fieldset': {
|
||||||
|
borderColor: '#ff33cc', // Focus border color (optional)
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
<TextField
|
<TextField
|
||||||
fullWidth
|
fullWidth
|
||||||
@@ -90,6 +105,21 @@ const Login = () => {
|
|||||||
margin="normal"
|
margin="normal"
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
required
|
required
|
||||||
|
sx={{
|
||||||
|
'& .MuiOutlinedInput-root': {
|
||||||
|
backgroundColor: password ? '#ffe6f9' : '#ffffff',
|
||||||
|
// backgroundColor: ' #ffe6f9', // Change fill color here
|
||||||
|
'& fieldset': {
|
||||||
|
borderColor: '#ff33cc', // Border color (optional)
|
||||||
|
},
|
||||||
|
'&:hover fieldset': {
|
||||||
|
borderColor: '#ff33cc', // Hover border color (optional)
|
||||||
|
},
|
||||||
|
'&.Mui-focused fieldset': {
|
||||||
|
borderColor: '#ff33cc', // Focus border color (optional)
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
Reference in New Issue
Block a user