From 89532493033369a76cb98d4c381630c023ecbea0 Mon Sep 17 00:00:00 2001 From: man0s <95379755+losman0s@users.noreply.github.com> Date: Sat, 9 Sep 2023 17:16:34 +0800 Subject: [PATCH] fix(mfi-v2-ui): use chartreuse as accent --- .../src/components/Footer/Footer.tsx | 26 +++++++++---------- .../src/components/Navbar/Navbar.tsx | 2 +- .../src/components/OverlaySpinner.tsx | 2 +- apps/marginfi-v2-ui/src/pages/index.tsx | 2 +- apps/marginfi-v2-ui/src/pages/points.tsx | 2 +- apps/marginfi-v2-ui/src/styles/globals.css | 4 +-- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/apps/marginfi-v2-ui/src/components/Footer/Footer.tsx b/apps/marginfi-v2-ui/src/components/Footer/Footer.tsx index 6595de0785..5dac2f1708 100644 --- a/apps/marginfi-v2-ui/src/components/Footer/Footer.tsx +++ b/apps/marginfi-v2-ui/src/components/Footer/Footer.tsx @@ -70,7 +70,7 @@ const LendZoomControl: FC = () => {
setLendZoomLevel(1)} viewBox="0 0 17 17"> - + {
setLendZoomLevel(2)} viewBox="0 0 16 16"> - + {
setLendZoomLevel(3)} viewBox="0 0 16 16"> - + { "& .MuiSwitch-switchBase": { "&.Mui-checked": { "& .MuiSwitch-thumb": { - backgroundColor: "#7fff00", + backgroundColor: "#DCE85D", }, "& + .MuiSwitch-track": { - backgroundColor: "#7fff00", - color: "#7fff00", + backgroundColor: "#DCE85D", + color: "#DCE85D", }, }, }, @@ -141,7 +141,7 @@ const QuickLinks: FC = () => ( rel="noopener noreferrer" className="p-0 m-0 h-full flex justify-center items-center" > - + @@ -151,7 +151,7 @@ const QuickLinks: FC = () => ( rel="noopener noreferrer" className="p-0 m-0 h-full flex justify-center items-center" > - + ( rel="noopener noreferrer" className="p-0 m-0 h-full flex justify-center items-center" > - + ( rel="noopener noreferrer" className="p-0 m-0 h-full flex justify-center items-center" > - + ( rel="noopener noreferrer" className="p-0 m-0 h-full flex justify-center items-center" > - + ( rel="noopener noreferrer" className="p-0 m-0 h-full flex justify-center items-center" > - + ( rel="noopener noreferrer" className="p-0 m-0 h-full flex justify-center items-center" > - +
); diff --git a/apps/marginfi-v2-ui/src/components/Navbar/Navbar.tsx b/apps/marginfi-v2-ui/src/components/Navbar/Navbar.tsx index 093a7a21ab..21b7bcadcc 100644 --- a/apps/marginfi-v2-ui/src/components/Navbar/Navbar.tsx +++ b/apps/marginfi-v2-ui/src/components/Navbar/Navbar.tsx @@ -236,7 +236,7 @@ const Navbar: FC = () => { } UXP`}
- + {connected && currentFirebaseUser ? `${groupedNumberFormatterDyn.format(Math.round(userPointsData.totalPoints))} points` : "points"} diff --git a/apps/marginfi-v2-ui/src/components/OverlaySpinner.tsx b/apps/marginfi-v2-ui/src/components/OverlaySpinner.tsx index cd32e3337b..81e48fa50b 100644 --- a/apps/marginfi-v2-ui/src/components/OverlaySpinner.tsx +++ b/apps/marginfi-v2-ui/src/components/OverlaySpinner.tsx @@ -15,7 +15,7 @@ const OverlaySpinner: FC = ({ fetching }) => ( display: fetching ? "block" : "none", }} > - + ); diff --git a/apps/marginfi-v2-ui/src/pages/index.tsx b/apps/marginfi-v2-ui/src/pages/index.tsx index 2817a13d78..ff607d8341 100644 --- a/apps/marginfi-v2-ui/src/pages/index.tsx +++ b/apps/marginfi-v2-ui/src/pages/index.tsx @@ -66,7 +66,7 @@ const Home = () => { text={`Read-only view of ${shortenAddress( selectedAccount.address.toBase58() )} (owner: ${shortenAddress(walletAddress)}) - All actions are simulated`} - backgroundColor="#7fff00" + backgroundColor="#DCE85D" /> )} {walletAddress && marginfiAccountCount > 1 && ( diff --git a/apps/marginfi-v2-ui/src/pages/points.tsx b/apps/marginfi-v2-ui/src/pages/points.tsx index d9a5552134..0e2f587ad7 100644 --- a/apps/marginfi-v2-ui/src/pages/points.tsx +++ b/apps/marginfi-v2-ui/src/pages/points.tsx @@ -335,7 +335,7 @@ const Points: FC = () => { target="_blank" rel="noopener noreferrer" style={{ textDecoration: "none", color: "inherit" }} - className="hover:text-[#7fff00]" + className="hover:text-[#DCE85D]" > {`${row.id.slice(0, 5)}...${row.id.slice(-5)}`}