fix(skins): don't inherit status_bar_* into light-mode skins

The salvaged status-bar skin keys were seeded on the default skin, but
_build_skin_config merges default.colors into every skin — so daylight
and warm-lightmode silently inherited silver status_bar_text (#C0C0C0)
on their light backgrounds, rendering as low-contrast gray on gray.

Drop the seven status_bar_{text,strong,dim,good,warn,bad,critical}
entries from the default skin's colors and let get_prompt_toolkit_style
_overrides fall back to banner_text / banner_title / banner_dim /
ui_ok / ui_warn / ui_error. Dark skins keep their explicit overrides
and render identically; light skins now inherit their own dark banner
colors for readable status-bar text.
This commit is contained in:
Teknium 2026-04-22 06:14:08 -07:00 committed by Teknium
parent 81a504a4a0
commit 88564ad8bc

View file

@ -179,13 +179,6 @@ _BUILTIN_SKINS: Dict[str, Dict[str, Any]] = {
"input_rule": "#CD7F32", "input_rule": "#CD7F32",
"response_border": "#FFD700", "response_border": "#FFD700",
"status_bar_bg": "#1a1a2e", "status_bar_bg": "#1a1a2e",
"status_bar_text": "#C0C0C0",
"status_bar_strong": "#FFD700",
"status_bar_dim": "#8B8682",
"status_bar_good": "#8FBC8F",
"status_bar_warn": "#FFD700",
"status_bar_bad": "#FF8C00",
"status_bar_critical": "#FF6B6B",
"session_label": "#DAA520", "session_label": "#DAA520",
"session_border": "#8B8682", "session_border": "#8B8682",
}, },