Skip to content

Commit

Permalink
Remove unused color (#238690)
Browse files Browse the repository at this point in the history
remove dead code
  • Loading branch information
benibenj authored Jan 24, 2025
1 parent 0979fcb commit b94947f
Showing 1 changed file with 1 addition and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { MenuId, MenuItemAction } from '../../../../../../platform/actions/commo
import { ICommandService } from '../../../../../../platform/commands/common/commands.js';
import { IInstantiationService } from '../../../../../../platform/instantiation/common/instantiation.js';
import { diffInserted, diffRemoved, editorHoverBorder } from '../../../../../../platform/theme/common/colorRegistry.js';
import { registerColor, transparent } from '../../../../../../platform/theme/common/colorUtils.js';
import { registerColor } from '../../../../../../platform/theme/common/colorUtils.js';
import { IThemeService } from '../../../../../../platform/theme/common/themeService.js';
import { ICodeEditor } from '../../../../../browser/editorBrowser.js';
import { observableCodeEditor } from '../../../../../browser/observableCodeEditor.js';
Expand Down Expand Up @@ -95,18 +95,6 @@ export const modifiedBorder = registerColor(
localize('inlineEdit.modifiedBorder', 'Border color for the modified text in inline edits.')
);

export const acceptedDecorationBackgroundColor = registerColor(
'inlineEdit.acceptedBackground',
{
light: transparent(modifiedChangedTextOverlayColor, 0.75),
dark: transparent(modifiedChangedTextOverlayColor, 0.75),
hcDark: modifiedChangedTextOverlayColor,
hcLight: modifiedChangedTextOverlayColor
},
localize('inlineEdit.acceptedBackground', 'Background color for the accepted text after applying an inline edit.'),
true
);

export interface IInlineEditsView {
isHovered: IObservable<boolean>;
}
Expand Down

0 comments on commit b94947f

Please sign in to comment.