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 11:32:21 +05:30
committed by Vishwas Shashidhar
parent 558f2cb61e
commit 199aa76207
+2 -2
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';
}