Skip to content

Commit 15a3097

Browse files
committed
update inline-hint color
1 parent 52df667 commit 15a3097

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

client/out/languageserver.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/src/languageserver.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,6 @@ function onDecorations(client: LanguageClient) {
236236
notifyVisibleRanges(params.textEditor);
237237
})
238238

239-
let color = new vscode.ThemeColor('descriptionForeground');
240-
let backgroundColor = new vscode.ThemeColor('textCodeBlock.background');
241-
242239
client.onNotification('$/hint', (params) => {
243240
let uri: types.URI = params.uri;
244241
for (let index = 0; index < window.visibleTextEditors.length; index++) {
@@ -256,15 +253,17 @@ function onDecorations(client: LanguageClient) {
256253
light: {
257254
after: {
258255
contentText: edit.newText,
259-
color: color,
260-
backgroundColor: backgroundColor,
256+
color: '#888888',
257+
backgroundColor: '#EEEEEE;border-radius: 5px;',
258+
fontWeight: '400; font-size: 12px; line-height: 1;',
261259
}
262260
},
263261
dark: {
264262
after: {
265263
contentText: edit.newText,
266-
color: color,
267-
backgroundColor: backgroundColor,
264+
color: '#888888',
265+
backgroundColor: '#333333;border-radius: 5px;',
266+
fontWeight: '400; font-size: 12px; line-height: 1;',
268267
}
269268
}
270269
}

0 commit comments

Comments
 (0)