From 1816fc2661136fc23e1fc3decb2cdea9f339c996 Mon Sep 17 00:00:00 2001 From: Daniel Bedeleanu Date: Sat, 25 Apr 2026 13:04:07 +0300 Subject: [PATCH] style(frontend): refactor InventoryTable for DESIGN.md compliance - Removed 'font-sans' and 'bg-green-500/10' - Replaced hardcoded surface colors with black-based variants - Consistent industrial accents for category and item icons - Used 'text-rose-500' for low stock instead of 'text-warning' --- frontend/components/InventoryTable.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/frontend/components/InventoryTable.tsx b/frontend/components/InventoryTable.tsx index e664f77b..08e7a9b8 100644 --- a/frontend/components/InventoryTable.tsx +++ b/frontend/components/InventoryTable.tsx @@ -53,7 +53,7 @@ export default function InventoryTable({ if (categories.length === 0) { return ( -
+

No Results Found

@@ -61,17 +61,17 @@ export default function InventoryTable({ } return ( -
+
{categories.map(cat => { const categoryItems = items.filter(i => i.category === cat); return ( -
+
onExpandCategory(expandedCategory === cat ? null : cat)} >
-
+
@@ -89,7 +89,7 @@ export default function InventoryTable({ e.stopPropagation(); onEditCategory(cat); }} - className="p-1.5 hover:bg-surface-bright text-secondary hover:text-primary transition-colors border border-transparent hover:border-border" + className="p-1.5 hover:bg-black text-secondary hover:text-primary transition-colors border border-transparent hover:border-border" > @@ -102,7 +102,7 @@ export default function InventoryTable({ {categoryItems.map(item => (
handleItemClick(item)} @@ -124,7 +124,7 @@ export default function InventoryTable({ />
) : ( -
+
)} @@ -138,7 +138,7 @@ export default function InventoryTable({
{item.quantity}