Text("\(item.amount)")
.fontWeight(item.amount < 10 ? .light : .bold)
.foregroundColor(item.amount < 100 ? .primary : .red)
Either of these modifiers worked, but together they pevented the compiler from building.