mirror of
https://github.com/LifeArchiveProject/WeChatDataAnalysis.git
synced 2026-02-19 22:30:49 +08:00
improvement(wrapped-ui): 完善 Win98 主题的可视化适配并优化聊天回放信息区
- ChatReplayAnimation:时间戳移到顶栏,简化气泡尾巴;补齐 Game Boy/DOS/Win98 顶栏文案颜色与边框风格 - 热力图:新增 win98 配色分支,并为 heatmap/legend 单元加硬边框 - Overview/MessageChars 等可视化补充 Win98 主题样式(键盘/进度条/雷达图等)
This commit is contained in:
@@ -58,6 +58,13 @@ export const themedHeatColor = (value, max, theme) => {
|
||||
const light = 20 + 60 * t
|
||||
return `hsl(120 100% ${light.toFixed(1)}%)`
|
||||
}
|
||||
case 'win98': {
|
||||
// Win98-ish "system colors": gray -> blue highlight
|
||||
if (t === 0) return '#dfdfdf'
|
||||
if (t < 0.33) return '#c0c0c0'
|
||||
if (t < 0.66) return '#808080'
|
||||
return '#000080'
|
||||
}
|
||||
default:
|
||||
// Modern (off) - use original heatColor
|
||||
return heatColor(value, max)
|
||||
|
||||
Reference in New Issue
Block a user