From 25fde0c0c465c4d65923f4deae7b92227650adb5 Mon Sep 17 00:00:00 2001 From: Shorn Date: Tue, 14 May 2024 16:13:20 +0200 Subject: [PATCH] inputs background colour fix to #FFFFFF --- src/components/Input.js | 5 +++-- src/components/TransferInput.js | 2 +- src/styles/theme.js | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/Input.js b/src/components/Input.js index 3def7851..940fe295 100644 --- a/src/components/Input.js +++ b/src/components/Input.js @@ -79,13 +79,14 @@ const useStyles = makeStyles((theme) => { padding: '11.5px 14px', borderRadius: '25px', color: theme.custom.colors.purple100, + background: theme.custom.colors.realwhite, }, outlinedInputRoot: { borderRadius: '25px', border: `3px solid transparent`, padding: '0px', - background: theme.custom.colors.white, + background: theme.custom.colors.realwhite, '&:hover': { '& .MuiOutlinedInput-notchedOutline': { @@ -93,7 +94,7 @@ const useStyles = makeStyles((theme) => { }, '& .MuiOutlinedInput-input': { - background: theme.custom.colors.white, + background: theme.custom.colors.realwhite, }, '&.Mui-error': { diff --git a/src/components/TransferInput.js b/src/components/TransferInput.js index 50ff2e85..c7ad6f9a 100644 --- a/src/components/TransferInput.js +++ b/src/components/TransferInput.js @@ -9,7 +9,7 @@ const useStyles = makeStyles((theme) => ({ height: 66, boxShadow: theme.custom.shadows.greyUp, color: theme.custom.colors.purple100, - background: theme.custom.colors.white, + background: theme.custom.colors.realwhite, '& .MuiSvgIcon-root': { fill: theme.custom.colors.purple100, diff --git a/src/styles/theme.js b/src/styles/theme.js index be981316..25b9ea0f 100644 --- a/src/styles/theme.js +++ b/src/styles/theme.js @@ -51,6 +51,7 @@ const foundation = { purple500: '#C8C6E9', purple600: '#E5E4F2', white: '#F6F1ED', + realwhite: '#FFFFFF', errorYellow: '#FFC834', successGreen: '#05BF93', };