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

This commit is contained in:
Martin Aeschlimann 2017-04-27 21:54:48 +02:00
parent 0b9086137c
commit 7516e0eff3
3 changed files with 12 additions and 12 deletions

View file

@ -336,10 +336,10 @@
// "peekViewTitleInfoForeground": "",
// Editor: Diff
"diffInserted": "#31958A55",
// "diffInsertedOutline": "",
"diffRemoved": "#892F4688",
// "diffRemovedOutline": "",
"diffEditorInserted": "#31958A55",
// "diffEditorInsertedOutline": "",
"diffEditorRemoved": "#892F4688",
// "diffEditorRemovedOutline": "",
// Workbench: Title
"titleBarActiveBackground": "#10192c",

View file

@ -376,10 +376,10 @@
// "peekViewTitleInfoForeground": "",
// Editor: Diff
// "diffInserted": "",
// "diffInsertedOutline": "",
// "diffRemoved": "",
// "diffRemovedOutline": "",
// "diffEditorInserted": "",
// "diffEditorInsertedOutline": "",
// "diffEditorRemoved": "",
// "diffEditorRemovedOutline": "",
// Workbench: Title
"titleBarActiveBackground": "#002C39",

View file

@ -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) => {