From 39c934490188e860b5dc94a1350c01f19b7f0b82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89verton=20Toffanetto?= Date: Sun, 10 Mar 2024 20:41:28 -0300 Subject: [PATCH] refactor: update colors --- .../FlavorQuantitySelectorGroup/index.tsx | 2 +- .../components/SectionProduct/index.tsx | 2 +- src/app/error.tsx | 2 +- src/app/global-error.tsx | 2 +- src/app/not-found.tsx | 2 +- src/components/atoms/Avatar/index.tsx | 2 +- src/components/atoms/Badge/index.tsx | 4 +- src/components/atoms/Button/index.tsx | 2 +- src/components/atoms/CartButton/index.tsx | 2 +- src/components/atoms/IconButton/index.tsx | 2 +- .../LabeledRadioButton/styles.module.css | 6 +-- .../molecules/CardProduct/index.tsx | 2 +- .../molecules/QuantityCounterButton/index.tsx | 4 +- src/components/molecules/Textarea/index.tsx | 6 +-- src/components/organisms/BottomBar/index.tsx | 2 +- src/components/organisms/Footer/index.tsx | 2 +- src/components/organisms/TopBar/index.tsx | 2 +- src/theme/components/underlined-title.css | 2 +- src/theme/reset.css | 2 +- src/theme/variables/colors.css | 27 +++++++++--- src/theme/variables/colors.ts | 42 +++++++++++++++++-- 21 files changed, 85 insertions(+), 34 deletions(-) diff --git a/src/app/(home)/components/ContentCustomerOrderModal/components/FlavorQuantitySelectorGroup/index.tsx b/src/app/(home)/components/ContentCustomerOrderModal/components/FlavorQuantitySelectorGroup/index.tsx index 21469f2..6351f7d 100644 --- a/src/app/(home)/components/ContentCustomerOrderModal/components/FlavorQuantitySelectorGroup/index.tsx +++ b/src/app/(home)/components/ContentCustomerOrderModal/components/FlavorQuantitySelectorGroup/index.tsx @@ -65,7 +65,7 @@ export const FlavorQuantitySelectorGroup = ({
-

+

{option.name}

{option.description}

diff --git a/src/app/(home)/components/ContentCustomerOrderModal/components/SectionProduct/index.tsx b/src/app/(home)/components/ContentCustomerOrderModal/components/SectionProduct/index.tsx index 4848c6b..b2b5505 100644 --- a/src/app/(home)/components/ContentCustomerOrderModal/components/SectionProduct/index.tsx +++ b/src/app/(home)/components/ContentCustomerOrderModal/components/SectionProduct/index.tsx @@ -17,7 +17,7 @@ export const SectionProduct = ({
-

+

{title}

diff --git a/src/app/error.tsx b/src/app/error.tsx index 890aeb6..8358c91 100644 --- a/src/app/error.tsx +++ b/src/app/error.tsx @@ -40,7 +40,7 @@ export const Error = ({ Caso prefira, clique no botão abaixo e retorne para a página inicial:

-

+

{product}

diff --git a/src/components/molecules/QuantityCounterButton/index.tsx b/src/components/molecules/QuantityCounterButton/index.tsx index 0a03519..c7f65f6 100644 --- a/src/components/molecules/QuantityCounterButton/index.tsx +++ b/src/components/molecules/QuantityCounterButton/index.tsx @@ -27,7 +27,7 @@ export const QuantityCounterButton = ({ aria-label="Diminuir quantidade em 1" className="hover:bg-grey-light-blue-hint flex size-[30px] min-h-[30px] min-w-[30px] cursor-pointer rounded-circle bg-light-blue-hint transition-colors duration-200 ease-linear center active:bg-light-blue-hint disabled:cursor-not-allowed disabled:hover:bg-light-blue-hint disabled:active:bg-light-blue-hint" > - + {quantity} @@ -39,7 +39,7 @@ export const QuantityCounterButton = ({ aria-label="Aumentar quantidade em 1" className="hover:bg-grey-light-blue-hint flex size-[30px] min-h-[30px] min-w-[30px] cursor-pointer rounded-circle bg-light-blue-hint transition-colors duration-200 ease-linear center active:bg-light-blue-hint disabled:cursor-not-allowed disabled:hover:bg-light-blue-hint disabled:active:bg-light-blue-hint" > - +
) diff --git a/src/components/molecules/Textarea/index.tsx b/src/components/molecules/Textarea/index.tsx index 333ffc7..a6c6918 100644 --- a/src/components/molecules/Textarea/index.tsx +++ b/src/components/molecules/Textarea/index.tsx @@ -26,10 +26,10 @@ export const Textarea = ({ )}