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

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

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