Skip to content

Commit db66812

Browse files
authored
💄 current find match color. (microsoft#166915)
1 parent 43ebdab commit db66812

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,8 @@ export class BackLayerWebView<T extends ICommonCellInfo> extends Themable {
274274
this.nonce);
275275

276276
const enableCsp = this.configurationService.getValue('notebook.experimental.enableCsp');
277-
const findHighlight = this.getColor(editorFindMatch);
278-
const currentMatchHighlight = this.getColor(editorFindMatchHighlight);
277+
const currentHighlight = this.getColor(editorFindMatch);
278+
const findMatchHighlight = this.getColor(editorFindMatchHighlight);
279279
return /* html */`
280280
<html lang="en">
281281
<head>
@@ -293,11 +293,11 @@ export class BackLayerWebView<T extends ICommonCellInfo> extends Themable {
293293
">` : ''}
294294
<style nonce="${this.nonce}">
295295
::highlight(find-highlight) {
296-
background-color: var(--vscode-editor-findMatchBackground, ${findHighlight});
296+
background-color: var(--vscode-editor-findMatchBackground, ${findMatchHighlight});
297297
}
298298
299299
::highlight(current-find-highlight) {
300-
background-color: var(--vscode-editor-findMatchHighlightBackground, ${currentMatchHighlight});
300+
background-color: var(--vscode-editor-findMatchHighlightBackground, ${currentHighlight});
301301
}
302302
303303
#container .cell_container {

0 commit comments

Comments
 (0)