Using colors to make relevant information stand out at a quick glance.
The six attack type icons are recolored using the six equidistant hues cyan, green, yellow, red, magenta and blue, with the same saturation and lightness as the old icons. The images are optimized with woptipng.
Resistances and movement costs are colored using a gradient from red to green, like the defense values.
The resistance table in the help browser now also shows the attack type icons.
Previously, the resistance table was always ordered alphabetically by their original English names (not their translation, unlike the terrain modifiers). Now, the order is set to blade - pierce - impact - fire - cold - arcane.
These changes are made in all relevant areas, including the help browser, tooltips, the sidebar and dialogs.
Missing icons are handled by replacing them with a blank image scaled to the same size.
It has been a while since the last optipng run (it was in 2015),
and many non-optimized PNG files have accumulated in the repository.
288 of 1666 files optimized, 258992 bytes reduced to 156258 bytes; -102734 bytes, -39.66%
To avoid unnecessarily increasing the size of Git repository for minor
size reductions, we skip images that weren't reduced by at least 15%.
Overall statistics (only for files with a smaller recompressed size):
Original size: 16720 KiB on 404 files
Optimized size: 15237 KiB
Total saving: 1482 KiB = 8% decrease