From 6bbe23983d5a7a812a5ba9402d47dba428c89392 Mon Sep 17 00:00:00 2001
From: Gabriel Tofvesson <gabriel@tofvesson.se>
Date: Sat, 12 Oct 2024 00:51:28 +0200
Subject: [PATCH] Set nice background colors for item details

---
 itemcontroller.lua | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/itemcontroller.lua b/itemcontroller.lua
index 3011354..4858968 100644
--- a/itemcontroller.lua
+++ b/itemcontroller.lua
@@ -339,24 +339,28 @@ local PAGES = {
           left = 1,
           right = 1,
           bottom = 0,
+          bgColor = colors.red,
           element = List:new{
+            bgColor = colors.red,
             [Orientation:getId()] = Orientation.VERTICAL,
             [Children:getId()] = {
-              Text:new{ text = "Count" },
-              Text:new{ text = tostring(group:getItemCount()) }
+              Text:new{ text = "Count", bgColor = colors.red },
+              Text:new{ text = tostring(group:getItemCount()), bgColor = colors.red }
             }
           }
         },
         Padding:new{
+          bgColor = colors.blue,
           top = 0,
           left = 1,
           right = 1,
           bottom = 0,
           element = List:new{
+            bgColor = colors.blue,
             [Orientation:getId()] = Orientation.VERTICAL,
             [Children:getId()] = {
-              Text:new{ text = "Slot" },
-              Text:new{ text = tostring(group:getStackCount()) }
+              Text:new{ text = "Slot", bgColor = colors.blue },
+              Text:new{ text = tostring(group:getStackCount()), bgColor = colors.blue }
             }
           }
         }