<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pawborough.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ASiteColor</id>
	<title>Module:SiteColor - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pawborough.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ASiteColor"/>
	<link rel="alternate" type="text/html" href="https://pawborough.wiki/index.php?title=Module:SiteColor&amp;action=history"/>
	<updated>2026-05-15T09:17:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://pawborough.wiki/index.php?title=Module:SiteColor&amp;diff=1430&amp;oldid=prev</id>
		<title>Imiya: Created page with &quot;local p = {}  function p.getSiteColor(theme) local switch = {        [&quot;Abyssal&quot;]        = &quot;116, 87, 152&quot;,   --         [&quot;Sol&quot;]           = &quot;131, 102, 77&quot;,   --         [&quot;Metropolis&quot;] = &quot;158, 38, 38&quot;,  --         [&quot;Luna&quot;]     = &quot;179, 209, 243&quot;,  --         [&quot;Harvest&quot;]     = &quot;126, 194, 89&quot;, --         [&quot;Cogwheel&quot;]       = &quot;235, 145, 52&quot;,   --         [&quot;Zenith&quot;]     = &quot;249, 199, 67&quot;,  --     }          -- return the result, or use a default if unmatched.     return switch[t...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pawborough.wiki/index.php?title=Module:SiteColor&amp;diff=1430&amp;oldid=prev"/>
		<updated>2023-09-27T15:57:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local p = {}  function p.getSiteColor(theme) local switch = {        [&amp;quot;Abyssal&amp;quot;]        = &amp;quot;116, 87, 152&amp;quot;,   --         [&amp;quot;Sol&amp;quot;]           = &amp;quot;131, 102, 77&amp;quot;,   --         [&amp;quot;Metropolis&amp;quot;] = &amp;quot;158, 38, 38&amp;quot;,  --         [&amp;quot;Luna&amp;quot;]     = &amp;quot;179, 209, 243&amp;quot;,  --         [&amp;quot;Harvest&amp;quot;]     = &amp;quot;126, 194, 89&amp;quot;, --         [&amp;quot;Cogwheel&amp;quot;]       = &amp;quot;235, 145, 52&amp;quot;,   --         [&amp;quot;Zenith&amp;quot;]     = &amp;quot;249, 199, 67&amp;quot;,  --     }          -- return the result, or use a default if unmatched.     return switch[t...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.getSiteColor(theme)&lt;br /&gt;
local switch = {&lt;br /&gt;
       [&amp;quot;Abyssal&amp;quot;]        = &amp;quot;116, 87, 152&amp;quot;,   -- &lt;br /&gt;
       [&amp;quot;Sol&amp;quot;]           = &amp;quot;131, 102, 77&amp;quot;,   -- &lt;br /&gt;
       [&amp;quot;Metropolis&amp;quot;] = &amp;quot;158, 38, 38&amp;quot;,  -- &lt;br /&gt;
       [&amp;quot;Luna&amp;quot;]     = &amp;quot;179, 209, 243&amp;quot;,  -- &lt;br /&gt;
       [&amp;quot;Harvest&amp;quot;]     = &amp;quot;126, 194, 89&amp;quot;, -- &lt;br /&gt;
       [&amp;quot;Cogwheel&amp;quot;]       = &amp;quot;235, 145, 52&amp;quot;,   -- &lt;br /&gt;
       [&amp;quot;Zenith&amp;quot;]     = &amp;quot;249, 199, 67&amp;quot;,  -- &lt;br /&gt;
   }&lt;br /&gt;
    &lt;br /&gt;
    -- return the result, or use a default if unmatched.&lt;br /&gt;
    return switch[theme] or &amp;quot;192, 192, 192&amp;quot; -- #C0C0C0&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Main function that calls getTheme with a passed-in theme argument&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
    -- The theme parameter is first positional, or nil if unspecified.&lt;br /&gt;
    local theme = frame:getParent().args[1]&lt;br /&gt;
    return p.getSiteColor(theme)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Imiya</name></author>
	</entry>
</feed>