This commit is contained in:
@@ -3,9 +3,33 @@ local core = require("graphics.core")
|
||||
|
||||
local style = {}
|
||||
|
||||
local cpair = core.graphics.cpair
|
||||
|
||||
-- MAIN LAYOUT --
|
||||
|
||||
style.root = core.graphics.cpair(colors.black, colors.lightGray)
|
||||
style.header = core.graphics.cpair(colors.white,colors.gray)
|
||||
style.root = cpair(colors.black, colors.lightGray)
|
||||
style.header = cpair(colors.white, colors.gray)
|
||||
|
||||
style.reactor = {
|
||||
-- reactor states
|
||||
states = {
|
||||
{
|
||||
color = cpair(colors.black, colors.yellow),
|
||||
text = "DISCONNECTED"
|
||||
},
|
||||
{
|
||||
color = cpair(colors.white, colors.gray),
|
||||
text = "DISABLED"
|
||||
},
|
||||
{
|
||||
color = cpair(colors.black, colors.green),
|
||||
text = "ACTIVE"
|
||||
},
|
||||
{
|
||||
color = cpair(colors.black, colors.red),
|
||||
text = "SCRAM!"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return style
|
||||
|
||||
Reference in New Issue
Block a user