Skip to content

Commit

Permalink
Tune merge-conflict colors (#27299)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrmarti authored and dbaeumer committed May 26, 2017
1 parent 2b7cf86 commit 5860e3d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/vs/platform/theme/common/colorRegistry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,11 @@ export const diffRemovedOutline = registerColor('diffEditor.removedTextBorder',
* Merge-conflict colors
*/

const headerTransparency = 1;
const currentBaseColor = Color.fromHex('#20C85E').transparent(headerTransparency);
const incomingBaseColor = Color.fromHex('#1886FF').transparent(headerTransparency);
const contentTransparency = 0.2;
const rulerTransparency = 0.5;
const headerTransparency = 0.5;
const currentBaseColor = Color.fromHex('#40C8AE').transparent(headerTransparency);
const incomingBaseColor = Color.fromHex('#40A6FF').transparent(headerTransparency);
const contentTransparency = 0.4;
const rulerTransparency = 1;

export const mergeCurrentHeaderBackground = registerColor('merge.currentHeaderBackground', { dark: currentBaseColor, light: currentBaseColor, hc: currentBaseColor }, nls.localize('mergeCurrentHeaderBackground', 'Current header background in inline merge-conflict.'));
export const mergeCurrentContentBackground = registerColor('merge.currentContentBackground', { dark: transparent(mergeCurrentHeaderBackground, contentTransparency), light: transparent(mergeCurrentHeaderBackground, contentTransparency), hc: transparent(mergeCurrentHeaderBackground, contentTransparency) }, nls.localize('mergeCurrentContentBackground', 'Current content background in inline merge-conflict.'));
Expand Down

0 comments on commit 5860e3d

Please sign in to comment.