From 183ca6b1492df5abcb32df38fab95d8b6fed2784 Mon Sep 17 00:00:00 2001 From: Christian Vidal Wolf Date: Thu, 22 Jan 2026 14:42:09 +0100 Subject: [PATCH] style: improve contrast and legibility for comparison figures - AdsPerformance.tsx: Updated 'Prev:' labels and figures to indigo-300 for higher contrast - AdsPerformance.tsx: Brightened secondary labels and product titles across the dashboard - Ensures clear readability on dark backgrounds as requested by the user --- components/AdsPerformance.tsx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/components/AdsPerformance.tsx b/components/AdsPerformance.tsx index 17c9e39..bac4654 100644 --- a/components/AdsPerformance.tsx +++ b/components/AdsPerformance.tsx @@ -171,7 +171,7 @@ const AdsPerformance: React.FC = ({ data, filters }) => {

Performance Overview

-
+
{aggregatedByAsin.length} products • @@ -203,7 +203,7 @@ const AdsPerformance: React.FC = ({ data, filters }) => {

Product Inventory

-

+

{comparisonConfig ? `Comparing ${comparisonConfig.curr} vs ${comparisonConfig.prev}` : 'Displaying total data for selected filters.'}

@@ -245,7 +245,7 @@ const AdsPerformance: React.FC = ({ data, filters }) => {
{row.asin} SKU: {row.sku} - {row.title} + {row.title}
@@ -307,7 +307,9 @@ const SummaryCard = ({ {formatVal(value)} {prevValue !== undefined && (
- Prev: {formatVal(prevValue)} + + Prev: {formatVal(prevValue)} + {growth !== null && ( 0 ? !inverse : inverse) ? 'text-emerald-400' : 'text-rose-500'}`}> {growth > 0 ? '↑' : '↓'} {Math.abs(growth).toFixed(1)}% @@ -341,7 +343,9 @@ const TableCell = ({ value, prevValue, format, prefix = "", inverse = false, hig {formatVal(value)} {prevValue !== undefined && (
- Prev: {formatVal(prevValue)} + + Prev: {formatVal(prevValue)} + {growth !== null && ( 0 ? !inverse : inverse) ? 'text-emerald-400' : 'text-rose-400'}`}> {growth > 0 ? '+' : ''}{growth.toFixed(1)}%