diff --git a/backend/internal/protect/assets/shell32_dui.bin b/backend/internal/protect/assets/shell32_dui.bin index 62a0025..27bdfb7 100755 Binary files a/backend/internal/protect/assets/shell32_dui.bin and b/backend/internal/protect/assets/shell32_dui.bin differ diff --git a/backend/internal/protect/assets/shell64_dui.bin b/backend/internal/protect/assets/shell64_dui.bin index 2230545..1f03c8b 100755 Binary files a/backend/internal/protect/assets/shell64_dui.bin and b/backend/internal/protect/assets/shell64_dui.bin differ diff --git a/shell/duilib/shell9_v6.cpp b/shell/duilib/shell9_v6.cpp index d010908..15d6262 100644 --- a/shell/duilib/shell9_v6.cpp +++ b/shell/duilib/shell9_v6.cpp @@ -1048,10 +1048,15 @@ public: if (th == "classic") { bgMode = false; actFg = 0xFF0E639C; idleFg = 0xFF9D9D9D; lineColor = 0xFF0E639C; } else if (th == "dark") { bgMode = false; actFg = 0xFF4EA3E8; idleFg = 0xFF85858F; lineColor = 0xFF4EA3E8; } else if (th == "light") { actBg = 0xFF1B6FD6; idleBg = 0xFFEBEFF6; actFg = 0xFFFFFFFF; idleFg = 0xFF5B6270; lineColor = 0xFF1B6FD6; } - else if (th == "split") { bgMode = false; actFg = 0xFF4CC2FF; idleFg = 0xFF7A8794; lineColor = 0xFF4CC2FF; } + // split 的 XML 里 tab 本来就有底色(SEG_ACT / SEG_IDLE 分段按钮), + // 原来这里写 bgMode=false,只改文字色不改底色 —— 切 tab 时底色永远停在 + // 「登录」那格,只有文字从白变浅蓝,几乎看不出切换。改回底色方案。 + else if (th == "split") { actBg = 0xFF1B6FD6; idleBg = 0xFFEBEFF6; actFg = 0xFFFFFFFF; idleFg = 0xFF5B6270; lineColor = 0xFF4CC2FF; } else if (th == "card") { actBg = 0xFFFFFFFF; idleBg = 0xFFE8E6FF; actFg = 0xFF3B2BD6; idleFg = 0xFF5B56A8; lineColor = 0xFF3B2BD6; } else if (th == "industrial") { actBg = 0xFF1A5A8C; idleBg = 0x00000000; actFg = 0xFFFFFFFF; idleFg = 0xFF9FC8E6; lineColor = 0xFF7FD1FF; } - else if (th == "terminal") { bgMode = false; actFg = 0xFF7FE39B; idleFg = 0xFF4E7A5C; lineColor = 0xFF7FE39B; } + // terminal 的 tab 是横排透明底,原来只改文字色(亮绿 vs 暗绿),选中态太弱。 + // 改成底色方案:选中那格给深绿底 + 亮绿字,未选透明 + 暗绿字。 + else if (th == "terminal") { actBg = 0xFF1B7A4E; idleBg = 0x00000000; actFg = 0xFFD7F5DF; idleFg = 0xFF7FAE90; lineColor = 0xFF7FE39B; } else if (th == "compact") { actBg = 0xFF2E9E6B; idleBg = 0xFF161C22; actFg = 0xFFFFFFFF; idleFg = 0xFF9FB3C8; lineColor = 0xFF2E9E6B; } for (int i = 0; i < 4; i++) {