Skip to content

Commit b426368

Browse files
committed
fix: color of placeholder text does not respect setting
microsoft#230056
1 parent 87fa98c commit b426368

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ import { wrapInReloadableClass1 } from '../../../../platform/observable/common/w
1313

1414
registerEditorContribution(PlaceholderTextContribution.ID, wrapInReloadableClass1(() => PlaceholderTextContribution), EditorContributionInstantiation.Eager);
1515

16-
registerColor('editor.placeholder.foreground', ghostTextForeground, localize('placeholderForeground', 'Foreground color of the placeholder text in the editor.'));
16+
export const placeholderForeground = registerColor('editor.placeholder.foreground', ghostTextForeground, localize('placeholderForeground', 'Foreground color of the placeholder text in the editor.'));

src/vs/editor/contrib/placeholderText/browser/placeholderText.css

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
.monaco-editor {
7-
--vscode-editor-placeholder-foreground: var(--vscode-editorGhostText-foreground);
87

98
.editorPlaceholder {
109
top: 0px;

0 commit comments

Comments
 (0)