mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-11 08:42:11 +00:00
fix: normalize terminalBackground default and drop unrelated lockfile churn
Follow-up to the salvaged terminalBackground commit: - align the CSS-var fallback and type doc to the runtime default (#000000) - revert web/package-lock.json to main (the original commit stripped peer flags as an npm-version artifact, unrelated to the feature)
This commit is contained in:
parent
fc995634cc
commit
34468ed0d4
4 changed files with 27 additions and 4 deletions
|
|
@ -301,7 +301,7 @@ function applyTheme(theme: DashboardTheme) {
|
|||
// Terminal background — read by ChatPage via useTheme(); also available as CSS var.
|
||||
root.style.setProperty(
|
||||
"--theme-terminal-background",
|
||||
theme.terminalBackground ?? "#0d2626",
|
||||
theme.terminalBackground ?? "#000000",
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -163,7 +163,7 @@ export interface DashboardTheme {
|
|||
componentStyles?: ThemeComponentStyles;
|
||||
colorOverrides?: ThemeColorOverrides;
|
||||
/** Background color for the embedded terminal pane (xterm.js).
|
||||
* Hex string. Defaults to `"#0d2626"` when absent. */
|
||||
* Hex string. Defaults to `"#000000"` when absent. */
|
||||
terminalBackground?: string;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue