more theme tidying. hopefully get this better running for saner people.
This commit is contained in:
@@ -6,6 +6,7 @@ Color = {
|
||||
-- These colors are pure swatch colors and are here purely to be used
|
||||
-- on demand without having to type color("stuff") or dig through
|
||||
-- a palette to get the color you want.
|
||||
__call(_color) = function(self, _color) return self[_color] end,
|
||||
Black = color("0,0,0,1"),
|
||||
White = color("1,1,1,1"),
|
||||
Red = color("#ed1c24"),
|
||||
@@ -31,7 +32,7 @@ Color = {
|
||||
end
|
||||
}
|
||||
-- Remapped Color Module, since some themes are crazy
|
||||
Colors = Color;
|
||||
-- Colors = Color;
|
||||
|
||||
GameColor = {
|
||||
PlayerColors = {
|
||||
@@ -95,9 +96,9 @@ GameColor.Difficulty["Nightmare"] = GameColor.Difficulty["Challenge"];
|
||||
GameColor.Difficulty["HalfDouble"] = GameColor.Difficulty["Medium"];
|
||||
|
||||
--[[ Fallbacks ]]
|
||||
function Color(c)
|
||||
return Colors[c]
|
||||
end
|
||||
function Color( in_c )
|
||||
return __call(in_c)
|
||||
end --]]
|
||||
|
||||
function BoostColor( cColor, fBoost )
|
||||
local c = cColor
|
||||
|
||||
Reference in New Issue
Block a user