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:
teknium1 2026-06-01 19:52:11 -07:00 committed by Teknium
parent fc995634cc
commit 34468ed0d4
4 changed files with 27 additions and 4 deletions

View file

@ -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",
);
}

View file

@ -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;
}