fix(vscode): use VS Code placeholder color for input fields (#10159)

Switches all webview input ::placeholder rules to var(--vscode-input-placeholderForeground, var(--text-weaker)) so placeholders pick up the VS Code-native placeholder color and stay visually distinct from typed values across Settings (including indexing fields), Agent Manager dialogs, prompt input, model search and kiloclaw.

Supersedes #10085 by sylwester-liljegren.
This commit is contained in:
Marius
2026-05-12 10:37:23 +02:00
committed by GitHub
parent e805d2f756
commit 64e45eaba3
7 changed files with 14 additions and 9 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"kilo-code": patch
---
Use the VS Code-native placeholder color for input fields so placeholder text is consistently distinct from values you have typed (Settings, Agent Manager, prompt input, model search, etc.).
@@ -44,7 +44,7 @@
color: var(--text-base);
&::placeholder {
color: var(--icon-weak-base);
color: var(--vscode-input-placeholderForeground, var(--text-weaker));
}
}
@@ -1403,7 +1403,7 @@ body.am-wt-dragging-active * {
}
.am-tabs-menu-search-input::placeholder {
color: var(--text-weaker);
color: var(--vscode-input-placeholderForeground, var(--text-weaker));
}
.am-tabs-menu-list {
@@ -2482,7 +2482,7 @@ body.am-wt-dragging-active * {
}
.am-nv-name-input::placeholder {
color: var(--text-weaker);
color: var(--vscode-input-placeholderForeground, var(--text-weaker));
}
/* Dialog overrides for prompt-input-container — resizable from bottom edge */
@@ -2665,7 +2665,7 @@ body.am-wt-dragging-active * {
}
.am-mm-search-input::placeholder {
color: var(--text-weaker);
color: var(--vscode-input-placeholderForeground, var(--text-weaker));
}
.am-mm-list {
@@ -2808,7 +2808,7 @@ body.am-wt-dragging-active * {
}
.am-advanced-input::placeholder {
color: var(--text-weaker);
color: var(--vscode-input-placeholderForeground, var(--text-weaker));
}
/* Branch selector */
@@ -170,7 +170,7 @@
}
.kiloclaw-input::placeholder {
color: var(--vscode-input-placeholderForeground);
color: var(--vscode-input-placeholderForeground, var(--text-weaker));
}
/* Status sidebar */
@@ -234,7 +234,7 @@
}
.model-selector-search::placeholder {
color: var(--vscode-input-placeholderForeground);
color: var(--vscode-input-placeholderForeground, var(--text-weaker));
}
.model-selector-list {
@@ -327,7 +327,7 @@
}
.prompt-input::placeholder {
color: var(--vscode-input-placeholderForeground);
color: var(--vscode-input-placeholderForeground, var(--text-weaker));
}
/* Input overlay (highlight + ghost text) */
@@ -298,7 +298,7 @@
line-height: var(--line-height-large);
&::placeholder {
color: var(--text-weak);
color: var(--vscode-input-placeholderForeground, var(--text-weaker));
}
&:disabled {