reorganize themes, see #42

This commit is contained in:
airstruck
2016-02-11 11:10:40 -05:00
parent c9a5811adc
commit 774d2856c1
6 changed files with 278 additions and 250 deletions

View File

@@ -1,5 +1,5 @@
local RESOURCE = (...):gsub('%.', '/') .. '/'
local REL = (...):gsub('[^.]*$', '')
local ROOT = (...):gsub('[^.]*.[^.]*$', '')
return function (config)
config = config or {}
@@ -8,5 +8,5 @@ return function (config)
config.lineColor = config.lineColor or { 60, 60, 60 }
config.textColor = config.textColor or { 240, 240, 240 }
config.highlight = config.highlight or { 0x00, 0x5c, 0x94 }
return require(REL .. 'light')(config)
return require(ROOT .. 'engine.alpha')(config)
end