sirrus233 / twilight-imperium-helper

Game assistant for Twilight Imperium
1 stars 0 forks source link

Display negative values as red and extract a DisplayField component #2

Closed chelseaSchmidt closed 3 months ago

chelseaSchmidt commented 3 months ago

Thought this was going to be a one-liner for changing negative values to red font, but it was a nuisance repeating the styling logic, so pulled out a DisplayField component too 😬

image image