From 6924e8019ad4eb33009e58f2dac21a49b19e678a Mon Sep 17 00:00:00 2001 From: BeniBenj Date: Thu, 29 Jan 2026 16:39:47 +0100 Subject: [PATCH] change gutter color to be based on editor hover color --- .../inlineCompletions/browser/view/inlineEdits/theme.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.ts b/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.ts index a39de3bf3a8..af04a4122d9 100644 --- a/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.ts +++ b/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.ts @@ -8,7 +8,7 @@ import { Color } from '../../../../../../base/common/color.js'; import { BugIndicatingError } from '../../../../../../base/common/errors.js'; import { IObservable, observableFromEventOpts } from '../../../../../../base/common/observable.js'; import { localize } from '../../../../../../nls.js'; -import { buttonBackground, buttonForeground, buttonSecondaryBackground, buttonSecondaryForeground, diffInserted, diffInsertedLine, diffRemoved, editorBackground } from '../../../../../../platform/theme/common/colorRegistry.js'; +import { buttonBackground, buttonForeground, diffInserted, diffInsertedLine, diffRemoved, editorBackground, editorHoverBackground, editorHoverBorder, editorHoverForeground } from '../../../../../../platform/theme/common/colorRegistry.js'; import { asCssVariable, ColorIdentifier, darken, registerColor, transparent } from '../../../../../../platform/theme/common/colorUtils.js'; import { IThemeService } from '../../../../../../platform/theme/common/themeService.js'; import { InlineCompletionEditorType } from '../../model/provideInlineCompletions.js'; @@ -85,17 +85,17 @@ export const inlineEditIndicatorPrimaryBackground = registerColor( export const inlineEditIndicatorSecondaryForeground = registerColor( 'inlineEdit.gutterIndicator.secondaryForeground', - buttonSecondaryForeground, + editorHoverForeground, localize('inlineEdit.gutterIndicator.secondaryForeground', 'Foreground color for the secondary inline edit gutter indicator.') ); export const inlineEditIndicatorSecondaryBorder = registerColor( 'inlineEdit.gutterIndicator.secondaryBorder', - buttonSecondaryBackground, + editorHoverBorder, localize('inlineEdit.gutterIndicator.secondaryBorder', 'Border color for the secondary inline edit gutter indicator.') ); export const inlineEditIndicatorSecondaryBackground = registerColor( 'inlineEdit.gutterIndicator.secondaryBackground', - inlineEditIndicatorSecondaryBorder, + editorHoverBackground, localize('inlineEdit.gutterIndicator.secondaryBackground', 'Background color for the secondary inline edit gutter indicator.') );