theme fix
This commit is contained in:
164
themes/space.lua
164
themes/space.lua
@@ -17,20 +17,20 @@ end
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
name = "Space Theme",
|
name = "Space Theme",
|
||||||
contentAutoSizingMultiplier = { height = 1.1, width = 1.05 },
|
contentAutoSizingMultiplier = { width = 1.05, height = 1.1 },
|
||||||
components = {
|
components = {
|
||||||
card = {
|
card = {
|
||||||
atlas = "themes/space/card.png",
|
atlas = "themes/space/card.png",
|
||||||
regions = {
|
regions = {
|
||||||
topLeft = { x = 0, y = 0, width = 100, height = 100 },
|
topLeft = { x = 0, y = 0, w = 100, h = 100 },
|
||||||
topCenter = { x = 100, y = 0, width = 205, height = 100 },
|
topCenter = { x = 100, y = 0, w = 205, h = 100 },
|
||||||
topRight = { x = 305, y = 0, width = 100, height = 100 },
|
topRight = { x = 305, y = 0, w = 100, h = 100 },
|
||||||
middleLeft = { x = 0, y = 100, width = 100, height = 178 },
|
middleLeft = { x = 0, y = 100, w = 100, h = 178 },
|
||||||
middleCenter = { x = 100, y = 100, width = 205, height = 178 },
|
middleCenter = { x = 100, y = 100, w = 205, h = 178 },
|
||||||
middleRight = { x = 305, y = 100, width = 100, height = 178 },
|
middleRight = { x = 305, y = 100, w = 100, h = 178 },
|
||||||
bottomLeft = { x = 0, y = 278, width = 100, height = 100 },
|
bottomLeft = { x = 0, y = 278, w = 100, h = 100 },
|
||||||
bottomCenter = { x = 100, y = 278, width = 205, height = 100 },
|
bottomCenter = { x = 100, y = 278, w = 205, h = 100 },
|
||||||
bottomRight = { x = 305, y = 278, width = 100, height = 100 },
|
bottomRight = { x = 305, y = 278, w = 100, h = 100 },
|
||||||
},
|
},
|
||||||
stretch = {
|
stretch = {
|
||||||
horizontal = { "topCenter", "middleCenter", "bottomCenter" },
|
horizontal = { "topCenter", "middleCenter", "bottomCenter" },
|
||||||
@@ -40,15 +40,15 @@ return {
|
|||||||
cardv2 = {
|
cardv2 = {
|
||||||
atlas = "themes/space/card-v2.png",
|
atlas = "themes/space/card-v2.png",
|
||||||
regions = {
|
regions = {
|
||||||
topLeft = { x = 0, y = 0, width = 100, height = 100 },
|
topLeft = { x = 0, y = 0, w = 100, h = 100 },
|
||||||
topCenter = { x = 100, y = 0, width = 205, height = 100 },
|
topCenter = { x = 100, y = 0, w = 205, h = 100 },
|
||||||
topRight = { x = 305, y = 0, width = 100, height = 100 },
|
topRight = { x = 305, y = 0, w = 100, h = 100 },
|
||||||
middleLeft = { x = 0, y = 100, width = 100, height = 178 },
|
middleLeft = { x = 0, y = 100, w = 100, h = 178 },
|
||||||
middleCenter = { x = 100, y = 100, width = 205, height = 178 },
|
middleCenter = { x = 100, y = 100, w = 205, h = 178 },
|
||||||
middleRight = { x = 305, y = 100, width = 100, height = 178 },
|
middleRight = { x = 305, y = 100, w = 100, h = 178 },
|
||||||
bottomLeft = { x = 0, y = 278, width = 100, height = 100 },
|
bottomLeft = { x = 0, y = 278, w = 100, h = 100 },
|
||||||
bottomCenter = { x = 100, y = 278, width = 205, height = 100 },
|
bottomCenter = { x = 100, y = 278, w = 205, h = 100 },
|
||||||
bottomRight = { x = 305, y = 278, width = 100, height = 100 },
|
bottomRight = { x = 305, y = 278, w = 100, h = 100 },
|
||||||
},
|
},
|
||||||
stretch = {
|
stretch = {
|
||||||
horizontal = { "topCenter", "middleCenter", "bottomCenter" },
|
horizontal = { "topCenter", "middleCenter", "bottomCenter" },
|
||||||
@@ -58,15 +58,15 @@ return {
|
|||||||
panel = {
|
panel = {
|
||||||
atlas = "themes/space/panel.png",
|
atlas = "themes/space/panel.png",
|
||||||
regions = {
|
regions = {
|
||||||
topLeft = { x = 0, y = 0, width = 38, height = 30 },
|
topLeft = { x = 0, y = 0, w = 38, h = 30 },
|
||||||
topCenter = { x = 38, y = 0, width = 53, height = 30 },
|
topCenter = { x = 38, y = 0, w = 53, h = 30 },
|
||||||
topRight = { x = 91, y = 0, width = 22, height = 30 },
|
topRight = { x = 91, y = 0, w = 22, h = 30 },
|
||||||
middleLeft = { x = 0, y = 30, width = 38, height = 5 },
|
middleLeft = { x = 0, y = 30, w = 38, h = 5 },
|
||||||
middleCenter = { x = 38, y = 30, width = 53, height = 5 },
|
middleCenter = { x = 38, y = 30, w = 53, h = 5 },
|
||||||
middleRight = { x = 91, y = 30, width = 22, height = 5 },
|
middleRight = { x = 91, y = 30, w = 22, h = 5 },
|
||||||
bottomLeft = { x = 0, y = 35, width = 38, height = 30 },
|
bottomLeft = { x = 0, y = 35, w = 38, h = 30 },
|
||||||
bottomCenter = { x = 38, y = 35, width = 53, height = 30 },
|
bottomCenter = { x = 38, y = 35, w = 53, h = 30 },
|
||||||
bottomRight = { x = 91, y = 35, width = 22, height = 30 },
|
bottomRight = { x = 91, y = 35, w = 22, h = 30 },
|
||||||
},
|
},
|
||||||
stretch = {
|
stretch = {
|
||||||
horizontal = { "topCenter", "middleCenter", "bottomCenter" },
|
horizontal = { "topCenter", "middleCenter", "bottomCenter" },
|
||||||
@@ -76,15 +76,15 @@ return {
|
|||||||
panelred = {
|
panelred = {
|
||||||
atlas = "themes/space/panel-red.png",
|
atlas = "themes/space/panel-red.png",
|
||||||
regions = {
|
regions = {
|
||||||
topLeft = { x = 0, y = 0, width = 38, height = 30 },
|
topLeft = { x = 0, y = 0, w = 38, h = 30 },
|
||||||
topCenter = { x = 38, y = 0, width = 53, height = 30 },
|
topCenter = { x = 38, y = 0, w = 53, h = 30 },
|
||||||
topRight = { x = 91, y = 0, width = 22, height = 30 },
|
topRight = { x = 91, y = 0, w = 22, h = 30 },
|
||||||
middleLeft = { x = 0, y = 30, width = 38, height = 5 },
|
middleLeft = { x = 0, y = 30, w = 38, h = 5 },
|
||||||
middleCenter = { x = 38, y = 30, width = 53, height = 5 },
|
middleCenter = { x = 38, y = 30, w = 53, h = 5 },
|
||||||
middleRight = { x = 91, y = 30, width = 22, height = 5 },
|
middleRight = { x = 91, y = 30, w = 22, h = 5 },
|
||||||
bottomLeft = { x = 0, y = 35, width = 38, height = 30 },
|
bottomLeft = { x = 0, y = 35, w = 38, h = 30 },
|
||||||
bottomCenter = { x = 38, y = 35, width = 53, height = 30 },
|
bottomCenter = { x = 38, y = 35, w = 53, h = 30 },
|
||||||
bottomRight = { x = 91, y = 35, width = 22, height = 30 },
|
bottomRight = { x = 91, y = 35, w = 22, h = 30 },
|
||||||
},
|
},
|
||||||
stretch = {
|
stretch = {
|
||||||
horizontal = { "topCenter", "middleCenter", "bottomCenter" },
|
horizontal = { "topCenter", "middleCenter", "bottomCenter" },
|
||||||
@@ -94,15 +94,15 @@ return {
|
|||||||
panelgreen = {
|
panelgreen = {
|
||||||
atlas = "themes/space/panel-green.png",
|
atlas = "themes/space/panel-green.png",
|
||||||
regions = {
|
regions = {
|
||||||
topLeft = { x = 0, y = 0, width = 38, height = 30 },
|
topLeft = { x = 0, y = 0, w = 38, h = 30 },
|
||||||
topCenter = { x = 38, y = 0, width = 53, height = 30 },
|
topCenter = { x = 38, y = 0, w = 53, h = 30 },
|
||||||
topRight = { x = 91, y = 0, width = 22, height = 30 },
|
topRight = { x = 91, y = 0, w = 22, h = 30 },
|
||||||
middleLeft = { x = 0, y = 30, width = 38, height = 5 },
|
middleLeft = { x = 0, y = 30, w = 38, h = 5 },
|
||||||
middleCenter = { x = 38, y = 30, width = 53, height = 5 },
|
middleCenter = { x = 38, y = 30, w = 53, h = 5 },
|
||||||
middleRight = { x = 91, y = 30, width = 22, height = 5 },
|
middleRight = { x = 91, y = 30, w = 22, h = 5 },
|
||||||
bottomLeft = { x = 0, y = 35, width = 38, height = 30 },
|
bottomLeft = { x = 0, y = 35, w = 38, h = 30 },
|
||||||
bottomCenter = { x = 38, y = 35, width = 53, height = 30 },
|
bottomCenter = { x = 38, y = 35, w = 53, h = 30 },
|
||||||
bottomRight = { x = 91, y = 35, width = 22, height = 30 },
|
bottomRight = { x = 91, y = 35, w = 22, h = 30 },
|
||||||
},
|
},
|
||||||
stretch = {
|
stretch = {
|
||||||
horizontal = { "topCenter", "middleCenter", "bottomCenter" },
|
horizontal = { "topCenter", "middleCenter", "bottomCenter" },
|
||||||
@@ -112,15 +112,15 @@ return {
|
|||||||
button = {
|
button = {
|
||||||
atlas = "themes/space/button.png",
|
atlas = "themes/space/button.png",
|
||||||
regions = {
|
regions = {
|
||||||
topLeft = { x = 0, y = 0, width = 14, height = 14 },
|
topLeft = { x = 0, y = 0, w = 14, h = 14 },
|
||||||
topCenter = { x = 14, y = 0, width = 86, height = 14 },
|
topCenter = { x = 14, y = 0, w = 86, h = 14 },
|
||||||
topRight = { x = 100, y = 0, width = 14, height = 14 },
|
topRight = { x = 100, y = 0, w = 14, h = 14 },
|
||||||
middleLeft = { x = 0, y = 14, width = 14, height = 10 },
|
middleLeft = { x = 0, y = 14, w = 14, h = 10 },
|
||||||
middleCenter = { x = 14, y = 14, width = 86, height = 10 },
|
middleCenter = { x = 14, y = 14, w = 86, h = 10 },
|
||||||
middleRight = { x = 100, y = 14, width = 14, height = 10 },
|
middleRight = { x = 100, y = 14, w = 14, h = 10 },
|
||||||
bottomLeft = { x = 0, y = 24, width = 14, height = 14 },
|
bottomLeft = { x = 0, y = 24, w = 14, h = 14 },
|
||||||
bottomCenter = { x = 14, y = 24, width = 86, height = 14 },
|
bottomCenter = { x = 14, y = 24, w = 86, h = 14 },
|
||||||
bottomRight = { x = 100, y = 24, width = 14, height = 14 },
|
bottomRight = { x = 100, y = 24, w = 14, h = 14 },
|
||||||
},
|
},
|
||||||
stretch = {
|
stretch = {
|
||||||
horizontal = { "topCenter", "middleCenter", "bottomCenter" },
|
horizontal = { "topCenter", "middleCenter", "bottomCenter" },
|
||||||
@@ -130,15 +130,15 @@ return {
|
|||||||
hover = {
|
hover = {
|
||||||
atlas = "themes/space/button-hover.png",
|
atlas = "themes/space/button-hover.png",
|
||||||
regions = {
|
regions = {
|
||||||
topLeft = { x = 0, y = 0, width = 14, height = 14 },
|
topLeft = { x = 0, y = 0, w = 14, h = 14 },
|
||||||
topCenter = { x = 14, y = 0, width = 86, height = 14 },
|
topCenter = { x = 14, y = 0, w = 86, h = 14 },
|
||||||
topRight = { x = 100, y = 0, width = 14, height = 14 },
|
topRight = { x = 100, y = 0, w = 14, h = 14 },
|
||||||
middleLeft = { x = 0, y = 14, width = 14, height = 10 },
|
middleLeft = { x = 0, y = 14, w = 14, h = 10 },
|
||||||
middleCenter = { x = 14, y = 14, width = 86, height = 10 },
|
middleCenter = { x = 14, y = 14, w = 86, h = 10 },
|
||||||
middleRight = { x = 100, y = 14, width = 14, height = 10 },
|
middleRight = { x = 100, y = 14, w = 14, h = 10 },
|
||||||
bottomLeft = { x = 0, y = 24, width = 14, height = 14 },
|
bottomLeft = { x = 0, y = 24, w = 14, h = 14 },
|
||||||
bottomCenter = { x = 14, y = 24, width = 86, height = 14 },
|
bottomCenter = { x = 14, y = 24, w = 86, h = 14 },
|
||||||
bottomRight = { x = 100, y = 24, width = 14, height = 14 },
|
bottomRight = { x = 100, y = 24, w = 14, h = 14 },
|
||||||
},
|
},
|
||||||
stretch = {
|
stretch = {
|
||||||
horizontal = { "topCenter", "middleCenter", "bottomCenter" },
|
horizontal = { "topCenter", "middleCenter", "bottomCenter" },
|
||||||
@@ -148,15 +148,15 @@ return {
|
|||||||
pressed = {
|
pressed = {
|
||||||
atlas = "themes/space/button-pressed.png",
|
atlas = "themes/space/button-pressed.png",
|
||||||
regions = {
|
regions = {
|
||||||
topLeft = { x = 0, y = 0, width = 14, height = 14 },
|
topLeft = { x = 0, y = 0, w = 14, h = 14 },
|
||||||
topCenter = { x = 14, y = 0, width = 86, height = 14 },
|
topCenter = { x = 14, y = 0, w = 86, h = 14 },
|
||||||
topRight = { x = 100, y = 0, width = 14, height = 14 },
|
topRight = { x = 100, y = 0, w = 14, h = 14 },
|
||||||
middleLeft = { x = 0, y = 14, width = 14, height = 10 },
|
middleLeft = { x = 0, y = 14, w = 14, h = 10 },
|
||||||
middleCenter = { x = 14, y = 14, width = 86, height = 10 },
|
middleCenter = { x = 14, y = 14, w = 86, h = 10 },
|
||||||
middleRight = { x = 100, y = 14, width = 14, height = 10 },
|
middleRight = { x = 100, y = 14, w = 14, h = 10 },
|
||||||
bottomLeft = { x = 0, y = 24, width = 14, height = 14 },
|
bottomLeft = { x = 0, y = 24, w = 14, h = 14 },
|
||||||
bottomCenter = { x = 14, y = 24, width = 86, height = 14 },
|
bottomCenter = { x = 14, y = 24, w = 86, h = 14 },
|
||||||
bottomRight = { x = 100, y = 24, width = 14, height = 14 },
|
bottomRight = { x = 100, y = 24, w = 14, h = 14 },
|
||||||
},
|
},
|
||||||
stretch = {
|
stretch = {
|
||||||
horizontal = { "topCenter", "middleCenter", "bottomCenter" },
|
horizontal = { "topCenter", "middleCenter", "bottomCenter" },
|
||||||
@@ -166,15 +166,15 @@ return {
|
|||||||
disabled = {
|
disabled = {
|
||||||
atlas = "themes/space/button-disabled.png",
|
atlas = "themes/space/button-disabled.png",
|
||||||
regions = {
|
regions = {
|
||||||
topLeft = { x = 0, y = 0, width = 14, height = 14 },
|
topLeft = { x = 0, y = 0, w = 14, h = 14 },
|
||||||
topCenter = { x = 14, y = 0, width = 86, height = 14 },
|
topCenter = { x = 14, y = 0, w = 86, h = 14 },
|
||||||
topRight = { x = 100, y = 0, width = 14, height = 14 },
|
topRight = { x = 100, y = 0, w = 14, h = 14 },
|
||||||
middleLeft = { x = 0, y = 14, width = 14, height = 10 },
|
middleLeft = { x = 0, y = 14, w = 14, h = 10 },
|
||||||
middleCenter = { x = 14, y = 14, width = 86, height = 10 },
|
middleCenter = { x = 14, y = 14, w = 86, h = 10 },
|
||||||
middleRight = { x = 100, y = 14, width = 14, height = 10 },
|
middleRight = { x = 100, y = 14, w = 14, h = 10 },
|
||||||
bottomLeft = { x = 0, y = 24, width = 14, height = 14 },
|
bottomLeft = { x = 0, y = 24, w = 14, h = 14 },
|
||||||
bottomCenter = { x = 14, y = 24, width = 86, height = 14 },
|
bottomCenter = { x = 14, y = 24, w = 86, h = 14 },
|
||||||
bottomRight = { x = 100, y = 24, width = 14, height = 14 },
|
bottomRight = { x = 100, y = 24, w = 14, h = 14 },
|
||||||
},
|
},
|
||||||
stretch = {
|
stretch = {
|
||||||
horizontal = { "topCenter", "middleCenter", "bottomCenter" },
|
horizontal = { "topCenter", "middleCenter", "bottomCenter" },
|
||||||
|
|||||||
Reference in New Issue
Block a user