feat: 适配界面主题「重构」 (#16349)

* feat: 界面主题「重构」预载

* fix: 修复小工具 updater 路径错误
This commit is contained in:
SherkeyXD
2026-04-27 00:45:09 +08:00
committed by GitHub
parent b9fca6f03d
commit 4a77baba13
19 changed files with 55 additions and 10 deletions

View File

@@ -20,7 +20,8 @@
"DepotJieGarden",
"DepotAveMujica",
"DepotTogether",
"DepotLoneTrail"
"DepotLoneTrail",
"DepotReconstruct"
],
"onErrorNext": ["Depot-Entry@SwitchTheme@ToggleSettingsMenu"]
},
@@ -83,5 +84,9 @@
"DepotLoneTrail": {
"baseTask": "DepotDefault",
"template": ["LoneTrail/Day/DepotEnter.png", "LoneTrail/Night/DepotEnter.png"]
},
"DepotReconstruct": {
"baseTask": "DepotDefault",
"template": "Reconstruct/DepotEnter.png"
}
}

View File

@@ -20,7 +20,8 @@
"FriendsJieGarden",
"FriendsAveMujica",
"FriendsTogether",
"FriendsLoneTrail"
"FriendsLoneTrail",
"FriendsReconstruct"
],
"onErrorNext": ["Friends-Entry@SwitchTheme@ToggleSettingsMenu"]
},
@@ -84,5 +85,9 @@
"FriendsLoneTrail": {
"baseTask": "FriendsDefault",
"template": ["LoneTrail/Day/Friends.png", "LoneTrail/Night/Friends.png"]
},
"FriendsReconstruct": {
"baseTask": "FriendsDefault",
"template": "Reconstruct/Friends.png"
}
}

View File

@@ -20,7 +20,8 @@
"GachaJieGarden",
"GachaAveMujica",
"GachaTogether",
"GachaLoneTrail"
"GachaLoneTrail",
"GachaReconstruct"
],
"onErrorNext": ["Gacha-Entry@SwitchTheme@ToggleSettingsMenu"]
},
@@ -83,5 +84,9 @@
"GachaLoneTrail": {
"baseTask": "GachaDefault",
"template": ["LoneTrail/Day/GachaEnter.png", "LoneTrail/Night/GachaEnter.png"]
},
"GachaReconstruct": {
"baseTask": "GachaDefault",
"template": "Reconstruct/GachaEnter.png"
}
}

View File

@@ -20,7 +20,8 @@
"InfrastJieGarden",
"InfrastAveMujica",
"InfrastTogether",
"InfrastLoneTrail"
"InfrastLoneTrail",
"InfrastReconstruct"
],
"onErrorNext": ["Infrast-Entry@SwitchTheme@ToggleSettingsMenu"]
},
@@ -83,5 +84,9 @@
"InfrastLoneTrail": {
"baseTask": "InfrastDefault",
"template": ["LoneTrail/Day/EnterInfrast.png", "LoneTrail/Night/EnterInfrast.png"]
},
"InfrastReconstruct": {
"baseTask": "InfrastDefault",
"template": "Reconstruct/EnterInfrast.png"
}
}

View File

@@ -20,7 +20,8 @@
"MallJieGarden",
"MallAveMujica",
"MallTogether",
"MallLoneTrail"
"MallLoneTrail",
"MallReconstruct"
],
"onErrorNext": ["Mall-Entry@SwitchTheme@ToggleSettingsMenu"]
},
@@ -83,5 +84,9 @@
"MallLoneTrail": {
"baseTask": "MallDefault",
"template": ["LoneTrail/Day/Mall.png", "LoneTrail/Night/Mall.png"]
},
"MallReconstruct": {
"baseTask": "MallDefault",
"template": "Reconstruct/Mall.png"
}
}

View File

@@ -20,7 +20,8 @@
"OperBoxJieGarden",
"OperBoxAveMujica",
"OperBoxTogether",
"OperBoxLoneTrail"
"OperBoxLoneTrail",
"OperBoxReconstruct"
],
"onErrorNext": ["OperBox-Entry@SwitchTheme@ToggleSettingsMenu"]
},
@@ -83,5 +84,9 @@
"OperBoxLoneTrail": {
"baseTask": "OperBoxDefault",
"template": ["LoneTrail/Day/OperBoxEnter.png", "LoneTrail/Night/OperBoxEnter.png"]
},
"OperBoxReconstruct": {
"baseTask": "OperBoxDefault",
"template": "Reconstruct/OperBoxEnter.png"
}
}

View File

@@ -20,7 +20,8 @@
"RecruitJieGarden",
"RecruitAveMujica",
"RecruitTogether",
"RecruitLoneTrail"
"RecruitLoneTrail",
"RecruitReconstruct"
],
"onErrorNext": ["Recruit-Entry@SwitchTheme@ToggleSettingsMenu"]
},
@@ -83,5 +84,9 @@
"RecruitLoneTrail": {
"baseTask": "RecruitDefault",
"template": ["LoneTrail/Day/Recruit.png", "LoneTrail/Night/Recruit.png"]
},
"RecruitReconstruct": {
"baseTask": "RecruitDefault",
"template": "Reconstruct/Recruit.png"
}
}

View File

@@ -20,7 +20,8 @@
"TaskJieGarden",
"TaskAveMujica",
"TaskTogether",
"TaskLoneTrail"
"TaskLoneTrail",
"TaskReconstruct"
],
"onErrorNext": ["Task-Entry@SwitchTheme@ToggleSettingsMenu"]
},
@@ -85,5 +86,9 @@
"TaskLoneTrail": {
"baseTask": "TaskDefault",
"template": ["LoneTrail/Day/Task.png", "LoneTrail/Night/Task.png"]
},
"TaskReconstruct": {
"baseTask": "TaskDefault",
"template": "Reconstruct/Task.png"
}
}

View File

@@ -21,7 +21,8 @@
"TerminalJieGarden",
"TerminalAveMujica",
"TerminalTogether",
"TerminalLoneTrail"
"TerminalLoneTrail",
"TerminalReconstruct"
],
"onErrorNext": ["Terminal-Entry@SwitchTheme@ToggleSettingsMenu"]
},
@@ -84,5 +85,9 @@
"TerminalLoneTrail": {
"baseTask": "TerminalDefault",
"template": ["LoneTrail/Day/Terminal.png", "LoneTrail/Night/Terminal.png"]
},
"TerminalReconstruct": {
"baseTask": "TerminalDefault",
"template": "Reconstruct/Terminal.png"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@@ -70,7 +70,7 @@ def update_ui_theme_tasks():
def move_generated_images():
for image_path in dst_path.rglob("*.png"):
rel_path = image_path.relative_to(dst_path)
target_path = template_path / rel_path
target_path = template_path / "UiTheme" / rel_path
if not target_path.parent.exists():
target_path.parent.mkdir(parents=True, exist_ok=True)