Content deleted Content added
m fix |
m system color |
||
Line 160:
if line or default then
default = default or {}
local color = line['color'] or line['background color'] or default['color'] or default['background color'] or data['system color'] or data['color']
local Type_value = Type and line['types'] and (line['types'][Type] and line['types'][Type]['color'])
if Type_value then color = Type_value end
return color
end
return (default and (default['color'] or default['background color']) or data['system color'] or data['color'] or '')
end
end
Line 291:
or error(i18n[lang]['error_unknown'](args[v]['system']))
data[v]['color'] = data[v]['
data[v]['system icon'] = data[v]['system icon'] or data[v]['icon']
data[v]['icon format'] = data[v]['system icon format'] or data[v]['icon format']
|