Content deleted Content added
m Undid revision 1163936098 by Paine Ellsworth (talk) srv |
sync to live module |
||
Line 122:
local color = '#' .. (colors[3] or colors[2] or '')
if fontcolor
-- compute the luminosity of the background
local lum = color2lum(colors[1] or '')
Line 152:
local color = '#' .. (colors[1] or '')
if fontcolor
-- compute the luminosity of the background
local lum = color2lum(colors[3] or colors[2] or '')
Line 486:
function p.style1(frame)
local args = (frame.args[1] ~= nil) and frame.args or frame:getParent().args
return team_style1(remove_sport(args[1] or ''), args['border'], args['color']
end
function p.style2(frame)
local args = (frame.args[1] ~= nil) and frame.args or frame:getParent().args
return team_style2(remove_sport(args[1] or ''), args['border'], args['color']
end
|