add light theme

This commit is contained in:
Vick Scarlet
2021-11-28 11:40:21 +08:00
parent 4f55c00f86
commit e1e2ab4701
6 changed files with 418 additions and 50 deletions

View File

@@ -2,7 +2,7 @@
"x":0,
"type":"View",
"selectedBox":1,
"selecteID":2,
"selecteID":13,
"props":{"y":50,"width":570,"sceneColor":"#000000","mouseThrough":true,"mouseEnabled":false,"height":150,"alpha":0.75},
"nodeParent":-1,
"label":"View",
@@ -15,7 +15,7 @@
{
"x":15,
"type":"Box",
"props":{"x":0,"var":"boxBg","name":"boxBg"},
"props":{"var":"boxBg","top":0,"right":0,"name":"boxBg","left":0,"bottom":0},
"nodeParent":1,
"label":"Box(boxBg)",
"isOpen":true,
@@ -24,19 +24,6 @@
"hasChild":true,
"compId":5,
"child":[
{
"x":30,
"type":"Rect",
"props":{"width":560,"lineWidth":1,"height":150,"fillColor":"#292a28"},
"nodeParent":5,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":6,
"child":[
]
},
{
"x":30,
"type":"Rect",
@@ -49,6 +36,19 @@
"compId":14,
"child":[
]
},
{
"x":30,
"type":"Box",
"props":{"var":"bg1","top":0,"runtime":"ColorfulBox","right":10,"left":0,"bottom":0},
"nodeParent":5,
"label":"Box(bg1)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":15,
"child":[
]
}]
},
{

View File

@@ -1,8 +1,8 @@
{
"x":0,
"type":"View",
"selectedBox":1,
"selecteID":8,
"selectedBox":181,
"selecteID":184,
"referenceLines":null,
"props":{"width":1125,"sceneColor":"#000000","runtime":"ViewBase","height":2436},
"nodeParent":-1,
@@ -117,9 +117,9 @@
{
"x":60,
"type":"Label",
"props":{"x":183,"text":"UI_Property_Charm","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
"props":{"x":183,"text":"UI_Property_Charm","name":"font_default","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":10,
"label":"Label",
"label":"Label(font_default)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
@@ -444,9 +444,9 @@
{
"x":60,
"type":"Label",
"props":{"x":183,"text":"UI_Property_Intelligence","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
"props":{"x":183,"text":"UI_Property_Intelligence","name":"font_default","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":121,
"label":"Label",
"label":"Label(font_default)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
@@ -771,9 +771,9 @@
{
"x":60,
"type":"Label",
"props":{"x":183,"text":"UI_Property_Strength","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
"props":{"x":183,"text":"UI_Property_Strength","name":"font_default","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":151,
"label":"Label",
"label":"Label(font_default)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
@@ -1098,9 +1098,9 @@
{
"x":60,
"type":"Label",
"props":{"x":183,"text":"UI_Property_Money","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
"props":{"x":183,"text":"UI_Property_Money","name":"font_default","fontSize":70,"font":"SimHei","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":181,
"label":"Label",
"label":"Label(font_default)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,

View File

@@ -1,8 +1,8 @@
{
"x":0,
"type":"View",
"selectedBox":1,
"selecteID":102,
"selectedBox":18,
"selecteID":17,
"props":{"width":1125,"sceneColor":"#000000","runtime":"ViewBase","height":2436},
"nodeParent":-1,
"label":"View",
@@ -308,7 +308,7 @@
{
"x":45,
"type":"VBox",
"props":{"y":15,"var":"vboxTrajectory","space":15,"right":-6,"name":"vboxTrajectory","left":-6},
"props":{"y":15,"var":"vboxTrajectory","space":20,"right":-6,"name":"vboxTrajectory","left":-6},
"nodeParent":18,
"label":"VBox(vboxTrajectory)",
"isOpen":true,
@@ -332,17 +332,16 @@
{
"x":75,
"type":"HBox",
"props":{"y":10,"x":200,"name":"hboxAge","anchorX":1,"align":"middle"},
"props":{"y":25,"x":200,"name":"hboxAge","anchorX":1,"align":"middle"},
"nodeParent":88,
"label":"HBox(hboxAge)",
"isOpen":true,
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":91,
"child":[
{
"x":90,
"type":"Label",
"props":{"x":0,"text":"3000","name":"labAge","fontSize":50,"font":"SimHei","color":"#cfea5c","anchorX":0},
"nodeParent":91,
@@ -355,7 +354,6 @@
]
},
{
"x":90,
"type":"Label",
"props":{"x":1,"text":"岁","fontSize":50,"font":"SimHei","color":"#cfea5c","anchorX":0},
"nodeParent":91,
@@ -368,7 +366,6 @@
]
},
{
"x":90,
"type":"Label",
"props":{"x":2,"text":"","fontSize":50,"font":"SimHei","color":"#cfea5c","anchorX":0},
"nodeParent":91,
@@ -384,7 +381,7 @@
{
"x":75,
"type":"Label",
"props":{"y":10,"wordWrap":true,"text":"你的父母开始辅导你数学和英语,智力+1","right":0,"name":"labContent","left":220,"leading":10,"fontSize":50,"font":"SimHei","color":"#ffffff"},
"props":{"y":25,"wordWrap":true,"text":"你的父母开始辅导你数学和英语,智力+1","right":0,"name":"labContent","left":220,"leading":25,"fontSize":50,"font":"SimHei","color":"#ffffff"},
"nodeParent":88,
"label":"Label(labContent)",
"isDirectory":false,