diff --git a/src/views/Login.css b/src/views/Login.css deleted file mode 100644 index e5f2049..0000000 --- a/src/views/Login.css +++ /dev/null @@ -1,9 +0,0 @@ -.dark { - background-color: #1f1e26; - color: #ffffff; -} - -.false { - background-color: #ffffff; - color: #1f1e26; -} diff --git a/src/views/Login.jsx b/src/views/Login.jsx index f335e5c..e89326b 100644 --- a/src/views/Login.jsx +++ b/src/views/Login.jsx @@ -4,7 +4,6 @@ import { useNavigate } from 'react-router-dom'; import { Button } from '@/components/ui/button'; import { Eclipse, Sun } from 'lucide-react'; import { Context } from '../Context'; -import './Login.css'; function Login() { const { darkMode, setDarkMode } = useContext(Context); @@ -22,37 +21,39 @@ function Login() { }; return ( -
-
-
- {darkMode ? ( - Shopping app logo - ) : ( - Shopping app logo - )} -
-
-
- +
+
+
+
+ {darkMode ? ( + Shopping app logo + ) : ( + Shopping app logo + )} +
+
+
+ +
-
- - - + + + +
); }