Anonymous user
Module:Color contrast: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
typo
(add option for greatercontrast to form inline css string) |
(typo) |
||
Line 139:
if css then
local c1 = args[1] or ''
if mw.ustring.match(v1, '^[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]$') or▼
▲
end
if mw.ustring.match(
mw.ustring.match(
end
if mw.ustring.match(v3, '^[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]$') or
mw.ustring.match(v3, '^[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]$') then
end
return 'background-color:' ..
end
|