Default dark theme too low contrast on inactive tabs in inactive editor (fixes #26132)

This commit is contained in:
Benjamin Pasero 2017-05-08 07:57:10 +02:00
parent 0fb71c0794
commit 34ec2059a4

View file

@ -313,11 +313,11 @@ export class TabsTitleControl extends TitleControl {
tabLabel.element.style.color = this.getColor(TAB_INACTIVE_FOREGROUND, (color, theme) => {
if (!isGroupActive) {
if (theme.type === 'dark') {
return color.transparent(0.5).transparent(0.5);
return color.transparent(0.5);
}
if (theme.type === 'light') {
return color.transparent(0.7).transparent(0.5);
return color.transparent(0.5);
}
}