From c27c55ea4619fc599dc0406e11812e0681bdccbf Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Thu, 22 Oct 2020 18:24:04 -0300 Subject: [PATCH] Modal Dark Mode --- components/ui/Modal/Modal.module.css | 4 ++-- pages/index.tsx | 2 +- pages/login.tsx | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/ui/Modal/Modal.module.css b/components/ui/Modal/Modal.module.css index 061370cf7..38f20261e 100644 --- a/components/ui/Modal/Modal.module.css +++ b/components/ui/Modal/Modal.module.css @@ -1,8 +1,8 @@ .root { - @apply fixed bg-black flex items-center inset-0 z-50 justify-center; + @apply fixed bg-primary text-primary flex items-center inset-0 z-50 justify-center; background-color: rgba(0, 0, 0, 0.35); } .modal { - @apply bg-white p-12; + @apply bg-primary p-12 border border-accents-2; } diff --git a/pages/index.tsx b/pages/index.tsx index 4cad5bd6d..6dcb4564a 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -70,7 +70,7 @@ export default function Home({ ))} - {bestSelling.slice(0, 3).map(({ node }) => ( + {bestSelling.slice(3, 6).map(({ node }) => ( ))} diff --git a/pages/login.tsx b/pages/login.tsx index ce12ce401..b393bdca5 100644 --- a/pages/login.tsx +++ b/pages/login.tsx @@ -28,20 +28,20 @@ export default function Login() {
{}}>
-
+