From f04c4e3fe72847271cad0640398415c4100e501b Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Fri, 14 Jun 2024 17:08:43 -0300 Subject: [PATCH] reduce size of the newsletter email input --- docs/src/components/footer/EmailSubscribe.tsx | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/docs/src/components/footer/EmailSubscribe.tsx b/docs/src/components/footer/EmailSubscribe.tsx index 66c1da6ac891af..c9c18b18e2fafa 100644 --- a/docs/src/components/footer/EmailSubscribe.tsx +++ b/docs/src/components/footer/EmailSubscribe.tsx @@ -87,12 +87,12 @@ export default function EmailSubscribe({ sx }: { sx?: SxProps }) { }) { minWidth: 220, borderRadius: '8px', border: '1px solid', - borderColor: 'grey.200', + borderColor: 'grey.300', bgcolor: '#FFF', boxShadow: `inset 0 1px 2px ${ (theme.vars || theme).palette.grey[50] }, 0 2px .5px ${alpha(theme.palette.grey[100], 0.5)}`, '&:hover': { - borderColor: 'grey.300', + borderColor: 'grey.400', boxShadow: `inset 0 1px 2px ${(theme.vars || theme).palette.grey[100]}`, }, [`&.${inputBaseClasses.focused}`]: { - boxShadow: `0 0 0 3px ${(theme.vars || theme).palette.primary[200]}`, + boxShadow: `0 0 0 3px ${alpha(theme.palette.primary[500], 0.5)}`, borderColor: 'primary.500', }, [`& .${inputBaseClasses.input}`]: { borderRadius: theme.shape.borderRadius, - py: 1, - px: 1.5, + px: 1, }, }), (theme) => @@ -141,13 +140,12 @@ export default function EmailSubscribe({ sx }: { sx?: SxProps }) { boxShadow: `inset 0 1px 2px ${(theme.vars || theme).palette.common.black}`, }, [`&.${inputBaseClasses.focused}`]: { - boxShadow: `0 0 0 3px ${(theme.vars || theme).palette.primary[800]}`, borderColor: 'primary.400', }, }), ]} /> -