Anonymous

Module:Icons: Difference between revisions

From Melvor Idle
Remove class overrides for Township icons following imagery rework
(_Currency: Allow passing of nil amount to return currency icon only)
(Remove class overrides for Township icons following imagery rework)
Line 380: Line 380:
--When calling for an icon for Key, add a css class
--When calling for an icon for Key, add a css class
local imgClassOverrides = {
local imgClassOverrides = {
-- Township Stat Icons are licensed from Font Awesome Free 5.14.0 under CC BY 4.0 (https://github.com/FortAwesome/Font-Awesome/tree/5.14.0)
-- Was previously used for Township stat icons prior to v1.1.2
['Population'] = 'township-colortoggle',
--['Population'] = 'township-colortoggle'
['Workers'] = 'township-colortoggle',
['Storage'] = 'township-colortoggle',
}
}