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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user