提交 7516e0ef 编写于 作者: M Martin Aeschlimann

Theming: diff colors should be more specific. Fixes #25544

上级 0b908613
...@@ -336,10 +336,10 @@ ...@@ -336,10 +336,10 @@
// "peekViewTitleInfoForeground": "", // "peekViewTitleInfoForeground": "",
// Editor: Diff // Editor: Diff
"diffInserted": "#31958A55", "diffEditorInserted": "#31958A55",
// "diffInsertedOutline": "", // "diffEditorInsertedOutline": "",
"diffRemoved": "#892F4688", "diffEditorRemoved": "#892F4688",
// "diffRemovedOutline": "", // "diffEditorRemovedOutline": "",
// Workbench: Title // Workbench: Title
"titleBarActiveBackground": "#10192c", "titleBarActiveBackground": "#10192c",
......
...@@ -376,10 +376,10 @@ ...@@ -376,10 +376,10 @@
// "peekViewTitleInfoForeground": "", // "peekViewTitleInfoForeground": "",
// Editor: Diff // Editor: Diff
// "diffInserted": "", // "diffEditorInserted": "",
// "diffInsertedOutline": "", // "diffEditorInsertedOutline": "",
// "diffRemoved": "", // "diffEditorRemoved": "",
// "diffRemovedOutline": "", // "diffEditorRemovedOutline": "",
// Workbench: Title // Workbench: Title
"titleBarActiveBackground": "#002C39", "titleBarActiveBackground": "#002C39",
......
...@@ -1954,10 +1954,10 @@ function createFakeLinesDiv(): HTMLElement { ...@@ -1954,10 +1954,10 @@ function createFakeLinesDiv(): HTMLElement {
const defaultInsertColor = Color.fromRGBA(new RGBA(155, 185, 85, 255 * 0.2)); const defaultInsertColor = Color.fromRGBA(new RGBA(155, 185, 85, 255 * 0.2));
const defaultRemoveColor = Color.fromRGBA(new RGBA(255, 0, 0, 255 * 0.2)); const defaultRemoveColor = Color.fromRGBA(new RGBA(255, 0, 0, 255 * 0.2));
export const diffInserted = registerColor('diffInserted', { dark: defaultInsertColor, light: defaultInsertColor, hc: null }, nls.localize('diffInserted', 'Background color for text that got inserted.')); export const diffInserted = registerColor('diffEditorInserted', { dark: defaultInsertColor, light: defaultInsertColor, hc: null }, nls.localize('diffEditorInserted', 'Background color for text that got inserted.'));
export const diffRemoved = registerColor('diffRemoved', { dark: defaultRemoveColor, light: defaultRemoveColor, hc: null }, nls.localize('diffRemoved', 'Background color for text that got removed.')); export const diffRemoved = registerColor('diffEditorRemoved', { dark: defaultRemoveColor, light: defaultRemoveColor, hc: null }, nls.localize('diffEditorRemoved', 'Background color for text that got removed.'));
export const diffInsertedOutline = registerColor('diffInsertedOutline', { dark: null, light: null, hc: '#33ff2eff' }, nls.localize('diffInsertedOutline', 'Outline color for the text that got inserted.')); export const diffInsertedOutline = registerColor('diffEditorInsertedOutline', { dark: null, light: null, hc: '#33ff2eff' }, nls.localize('diffEditorInsertedOutline', 'Outline color for the text that got inserted.'));
export const diffRemovedOutline = registerColor('diffRemovedOutline', { dark: null, light: null, hc: '#FF008F' }, nls.localize('diffRemovedOutline', 'Outline color for text that got removed.')); export const diffRemovedOutline = registerColor('diffEditorRemovedOutline', { dark: null, light: null, hc: '#FF008F' }, nls.localize('diffEditorRemovedOutline', 'Outline color for text that got removed.'));
registerThemingParticipant((theme, collector) => { registerThemingParticipant((theme, collector) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册