mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
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:
parent
81a504a4a0
commit
88564ad8bc
1 changed files with 0 additions and 7 deletions
|
|
@ -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",
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue