mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
ELECTRON-729 - Accessibility color fix for customizing toast notifications on Windows (#483)
This commit is contained in:
parent
558f2cb61e
commit
199aa76207
@ -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';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user