Fix colors

This commit is contained in:
Gabriel Tofvesson 2024-10-26 00:41:54 +02:00
parent 421c9b04b9
commit 27d1bf5a31

View File

@ -374,6 +374,7 @@ local PAGES = {
for i=1,groupEntryListBudget do for i=1,groupEntryListBudget do
local bgColor = (i % 2 == 0) and colors.lightGray or colors.black local bgColor = (i % 2 == 0) and colors.lightGray or colors.black
local fgColor = (i % 2 == 0) and colors.black or colors.lightGray
table.insert( table.insert(
entries, entries,
List:new{ List:new{
@ -384,12 +385,12 @@ local PAGES = {
Padding:new{ Padding:new{
id = GroupEntryID.PADDING, id = GroupEntryID.PADDING,
bgColor = bgColor, bgColor = bgColor,
element = Text:new{ id = GroupEntryID.NAME, bgColor = bgColor } element = Text:new{ id = GroupEntryID.NAME, bgColor = bgColor, fgColor = fgColor }
}, },
Text:new{ Text:new{
id = GroupEntryID.COUNT, id = GroupEntryID.COUNT,
bgColor = bgColor, bgColor = bgColor,
fgColor = colors.black fgColor = fgColor
} }
} }
} }