diff --git a/src/components/Popup/Forgot.tsx b/src/components/Popup/Forgot.tsx index 3dc76bf..7eec56e 100644 --- a/src/components/Popup/Forgot.tsx +++ b/src/components/Popup/Forgot.tsx @@ -9,14 +9,18 @@ import { resetWallet } from "../../utils/storage"; // theme done! export default function Forgot({ goBack, - theme + theme, }: { goBack: React.Dispatch>; - theme: "dark" | "light" + theme: "dark" | "light"; }) { return ( <> -
+
goBack(false)} @@ -24,19 +28,29 @@ export default function Forgot({
-

Forgot Password

+

+ Forgot Password +

-
+
-

Forgot Password

+

+ Forgot Password +

You can reset your password by entering your wallet's 24 word recovery phrase. Cesium cannot recover your password for you. @@ -45,7 +59,9 @@ export default function Forgot({

diff --git a/src/components/Popup/Lock/Form.tsx b/src/components/Popup/Lock/Form.tsx index 2b13179..f747722 100644 --- a/src/components/Popup/Lock/Form.tsx +++ b/src/components/Popup/Lock/Form.tsx @@ -1,13 +1,12 @@ import { Dispatch, SetStateAction, useRef, useEffect } from "react"; - // theme added I guess? export default function Form({ goForth, handleSubmit, invalidPass, setInvalidPass, - theme + theme, }: { goForth: Dispatch>; handleSubmit: () => any; @@ -30,7 +29,11 @@ export default function Form({ }, [setInvalidPass]); return ( -
+
-

Enter your password

+

+ Enter your password +

goForth(true)} > diff --git a/src/components/Popup/Lock/Navbar.tsx b/src/components/Popup/Lock/Navbar.tsx index 45426ce..d398555 100644 --- a/src/components/Popup/Lock/Navbar.tsx +++ b/src/components/Popup/Lock/Navbar.tsx @@ -1,10 +1,20 @@ import { FaCircleQuestion } from "react-icons/fa6"; -export default function Navbar({ theme }: {theme: "dark" | "light";}) { +export default function Navbar({ theme }: { theme: "dark" | "light" }) { return ( -

+
- cesium + + cesium +
diff --git a/src/components/Popup/Lock/index.tsx b/src/components/Popup/Lock/index.tsx index e191946..7255062 100644 --- a/src/components/Popup/Lock/index.tsx +++ b/src/components/Popup/Lock/index.tsx @@ -11,7 +11,7 @@ import "../../../styles/login.css"; export default function Lockscreen({ setLoggedIn, - theme + theme, }: { setLoggedIn: React.Dispatch>; theme: "dark" | "light"; diff --git a/src/components/Popup/Popup.tsx b/src/components/Popup/Popup.tsx index ea0e572..7780e77 100644 --- a/src/components/Popup/Popup.tsx +++ b/src/components/Popup/Popup.tsx @@ -14,7 +14,7 @@ export default function Popup() { const [isLocked, setIsLocked] = useState(true); const [isAppLoggedIn, setAppLoggedIn] = useState(false); const [sessionMasterKey, setSessionMasterKey] = useState(null); - const [theme, setTheme] = useState<"dark" | "light">("light"); + const [theme, setTheme] = useState<"dark" | "light">("dark"); useEffect(() => { if (isAppLoggedIn) { @@ -43,7 +43,7 @@ export default function Popup() { }, []); return ( - + {!isAppLoggedIn && ( <> {isLocked ? ( @@ -64,7 +64,7 @@ export default function Popup() { ) : ( <>
- +
)} @@ -72,4 +72,4 @@ export default function Popup() { )}
); -} \ No newline at end of file +} diff --git a/src/components/Popup/Wrapper.tsx b/src/components/Popup/Wrapper.tsx index f21d4cd..25a78ed 100644 --- a/src/components/Popup/Wrapper.tsx +++ b/src/components/Popup/Wrapper.tsx @@ -1,8 +1,18 @@ import type { ReactNode } from "react"; -export default function PopupWrapper({ children }: { children: ReactNode }) { +export default function PopupWrapper({ + children, + theme, +}: { + children: ReactNode; + theme: "light" | "dark"; +}) { return ( -
+
{children}
diff --git a/src/styles/initialize.css b/src/styles/initialize.css index 9cd394c..f21e193 100644 --- a/src/styles/initialize.css +++ b/src/styles/initialize.css @@ -90,12 +90,12 @@ .step-p-input { width: 100%; padding: 14px !important; - background: rgb(12, 12, 16) !important; + background: rgb(12, 12, 16); border-width: 1px !important; border-style: solid !important; - border-color: rgb(47, 47, 47) !important; + border-color: rgb(47, 47, 47); border-radius: 6px !important; - color: white !important; + color: white; font-size: 16px !important; line-height: 19px !important; margin-bottom: 10px !important; @@ -153,16 +153,20 @@ .step-p-confirm { width: 100%; padding: 14px !important; - background: rgb(12, 12, 16) !important; + background: rgb(12, 12, 16); border-width: 1px !important; border-style: solid !important; - border-color: rgb(47, 47, 47) !important; + border-color: rgb(47, 47, 47); border-radius: 6px !important; color: white !important; font-size: 16px !important; line-height: 19px !important; } +.step-p-confirm::-ms-reveal { + display: none !important; +} + .start-content { display: flex; flex-direction: column; diff --git a/src/styles/mnemonic.css b/src/styles/mnemonic.css index d1ff274..a3d0f2a 100644 --- a/src/styles/mnemonic.css +++ b/src/styles/mnemonic.css @@ -124,7 +124,7 @@ width: 100% !important; height: 100% !important; border-radius: 6px !important; - background-color: inherit !important; + background-color: inherit; border: none !important; z-index: 1 !important; transition: background 0.2s ease;