ELECTRON-729 - Accessibility color fix for customizing toast notifications on Windows (#483)

This commit is contained in:
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS 2018-08-30 03:02:21 -03:00 committed by Vishwas Shashidhar
parent 558f2cb61e
commit 199aa76207

View File

@ -98,8 +98,8 @@ function setContents(event, notificationObj) {
if (notificationObj.color.match(whiteColorRegExp)) {
logo.src = './assets/symphony-logo-black.png';
} else {
messageDoc.style.color = '#ffffff';
titleDoc.style.color = '#ffffff';
messageDoc.style.color = '#000000';
titleDoc.style.color = '#000000';
companyDoc.style.color = notificationObj.color;
logo.src = './assets/symphony-logo-white.png';
}