refactor: 新增富文本描边工具并优化深色面板文案可读性

1. 新增RichOutline工具类,封装cc.RichText的outline标签包裹逻辑
2. 为所有道具/技能/英雄描述富文本添加黑色2px描边,提升深色背景下的可读性
3. 优化技能描述渲染逻辑:
   - 调整数值高亮色为更鲜亮的绿色
   - 使用罗马数字作为技能等级徽章
   - 移除升级预览弹窗的重复描述,改为当前/升级后双版本对比
   - 简化升级确认弹窗的格式排版
4. 调整道具/技能预制体的文字颜色为白色,适配深色面板
This commit is contained in:
panFD
2026-08-09 14:16:16 +08:00
parent 158dbeecde
commit b7f64a5aa7
11 changed files with 1295 additions and 1604 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -2585,9 +2585,9 @@
"_fontSize": 18,
"_fontColor": {
"__type__": "cc.Color",
"r": 32,
"g": 32,
"b": 32,
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_maxWidth": 189.9,

View File

@@ -2322,9 +2322,9 @@
"_fontSize": 18,
"_fontColor": {
"__type__": "cc.Color",
"r": 32,
"g": 32,
"b": 32,
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_maxWidth": 190,