cave-story-randomizer/caver/lib/luigi/theme/dark.lua
2021-11-30 20:51:31 -06:00

13 lines
490 B
Lua

local RESOURCE = (...):gsub('%.', '/') .. '/'
local ROOT = (...):gsub('[^.]*.[^.]*$', '')
return function (config)
config = config or {}
config.resources = config.resources or RESOURCE
config.backColor = config.backColor or { 40, 40, 40 }
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(ROOT .. 'engine.alpha')(config)
end