mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-25 10:20:16 -06:00
Electron-134 - Redesigned notification for windows
This commit is contained in:
parent
b94dbdef68
commit
5cd0568096
@ -91,31 +91,8 @@ function setContents(event, notificationObj) {
|
||||
|
||||
message.style.color = '#ffffff';
|
||||
title.style.color = '#ffffff';
|
||||
pod.style.color = notificationObj.color;
|
||||
logo.src = './assets/symphony-logo-white.png';
|
||||
|
||||
switch (notificationObj.color){
|
||||
case '#ecc96f':
|
||||
pod.style.color = '#917630';
|
||||
break;
|
||||
case '#a2bf73':
|
||||
pod.style.color = '#5c6f3e';
|
||||
break;
|
||||
case '#52c5ff':
|
||||
pod.style.color = '#397797';
|
||||
break;
|
||||
case '#edac50':
|
||||
pod.style.color = '#8e6428';
|
||||
break;
|
||||
case '#b76069':
|
||||
pod.style.color = '#6d2930';
|
||||
break;
|
||||
case '#ac8dae':
|
||||
pod.style.color = '#553a57';
|
||||
break;
|
||||
default:
|
||||
pod.style.color = '#adadad';
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -114,6 +114,7 @@ let config = {
|
||||
color: '#adadad',
|
||||
marginLeft: 52,
|
||||
overflow: 'hidden',
|
||||
filter: 'brightness(70%)',
|
||||
display: '-webkit-box',
|
||||
webkitLineClamp: 1,
|
||||
webkitBoxOrient: 'vertical',
|
||||
|
Loading…
Reference in New Issue
Block a user