From 9a4e2a03e9d791a64954a3faa03be8baa17fb120 Mon Sep 17 00:00:00 2001 From: ncoronel Date: Fri, 17 Jul 2026 13:45:16 -0300 Subject: [PATCH] feat(product-card): update title color for better visibility and readability feat(quantity-selector): change background to inherit for consistent styling --- .../components/product-card/product-card.component.scss | 2 +- .../product-row-card/product-row-card.component.html | 2 +- .../product-row-card/product-row-card.component.scss | 2 +- .../quantity-selector/quantity-selector.component.scss | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/app/shared/components/product-card/product-card.component.scss b/src/app/shared/components/product-card/product-card.component.scss index a9d809c..73a8795 100644 --- a/src/app/shared/components/product-card/product-card.component.scss +++ b/src/app/shared/components/product-card/product-card.component.scss @@ -73,4 +73,4 @@ } } } -} \ No newline at end of file +} diff --git a/src/app/shared/components/product-row-card/product-row-card.component.html b/src/app/shared/components/product-row-card/product-row-card.component.html index 8db3d98..b1672c4 100644 --- a/src/app/shared/components/product-row-card/product-row-card.component.html +++ b/src/app/shared/components/product-row-card/product-row-card.component.html @@ -1,7 +1,7 @@
-

+

{{ title() }}

@if (description()) { diff --git a/src/app/shared/components/product-row-card/product-row-card.component.scss b/src/app/shared/components/product-row-card/product-row-card.component.scss index e1dd7a7..a5ee11a 100644 --- a/src/app/shared/components/product-row-card/product-row-card.component.scss +++ b/src/app/shared/components/product-row-card/product-row-card.component.scss @@ -11,7 +11,7 @@ &__title { font-size: 16px; font-weight: 700; - color: #555; /* dark grey matching screenshot */ + color: #666666; letter-spacing: 0.5px; } diff --git a/src/app/shared/components/quantity-selector/quantity-selector.component.scss b/src/app/shared/components/quantity-selector/quantity-selector.component.scss index b740be9..57b0e92 100644 --- a/src/app/shared/components/quantity-selector/quantity-selector.component.scss +++ b/src/app/shared/components/quantity-selector/quantity-selector.component.scss @@ -7,7 +7,7 @@ width: 78px; height: 40px; min-height: 40px; - background: #f6f6f6; + background: inherit; box-sizing: border-box; &__button { @@ -15,7 +15,7 @@ height: 100%; font-size: 20px; color: #6f6f6f; - background: #f6f6f6; + background: inherit; transition: background-color 0.2s ease, color 0.2s ease; cursor: pointer; @@ -41,12 +41,12 @@ height: 21px; min-height: 21px; border: 1px solid #cfcfcf; - background: #ffffff; + background: inherit; .quantity-selector__button { width: 15px; font-size: 10px; - background: #ffffff; + background: inherit; color: #666666; &:not(:disabled):hover {