From 874c72795bfb70618c208851bfe57d6dd5235ef8 Mon Sep 17 00:00:00 2001 From: Bel Curcio Date: Tue, 1 Jun 2021 13:21:45 -0300 Subject: [PATCH] Design Updates --- assets/base.css | 5 +- components/common/Navbar/Navbar.module.css | 8 ++- components/common/Navbar/Navbar.tsx | 2 +- .../common/Searchbar/Searchbar.module.css | 4 ++ components/common/Searchbar/Searchbar.tsx | 41 +++++++------- .../product/ProductCard/ProductCard.tsx | 2 +- .../ProductSlider/ProductSlider.module.css | 55 +++++++++++++++---- .../product/ProductSlider/ProductSlider.tsx | 28 ++++++---- .../ProductView/ProductView.module.css | 15 ++--- .../product/ProductView/ProductView.tsx | 1 - .../WishlistButton/WishlistButton.module.css | 19 +++++++ .../WishlistButton/WishlistButton.tsx | 8 ++- tsconfig.json | 4 +- 13 files changed, 129 insertions(+), 63 deletions(-) create mode 100644 components/wishlist/WishlistButton/WishlistButton.module.css diff --git a/assets/base.css b/assets/base.css index c17229bcb..097e59c6f 100644 --- a/assets/base.css +++ b/assets/base.css @@ -18,8 +18,9 @@ --pink: #e64980; --purple: #f81ce5; --blue: #0070f3; - --violet: #5f3dc4; - --violet-light: #7048e8; + + --violet: #7928ca; + --violet-dark: #4c2889; --accent-0: #fff; --accent-1: #fafafa; diff --git a/components/common/Navbar/Navbar.module.css b/components/common/Navbar/Navbar.module.css index dffba9955..8ed44a176 100644 --- a/components/common/Navbar/Navbar.module.css +++ b/components/common/Navbar/Navbar.module.css @@ -2,8 +2,14 @@ @apply sticky top-0 bg-primary z-40 transition-all duration-150; } +.nav { + @apply hidden ml-6 space-x-4 lg:block; +} + .link { - @apply inline-flex items-center text-primary leading-6 font-medium transition ease-in-out duration-75 cursor-pointer text-accent-6; + @apply inline-flex items-center leading-6 + transition ease-in-out duration-75 cursor-pointer + text-accent-5; } .link:hover { diff --git a/components/common/Navbar/Navbar.tsx b/components/common/Navbar/Navbar.tsx index fcf9f1e10..6e5c4f11b 100644 --- a/components/common/Navbar/Navbar.tsx +++ b/components/common/Navbar/Navbar.tsx @@ -15,7 +15,7 @@ const Navbar: FC = () => ( -