mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
ELECTRON-1346 - Update notification text color to match previous version (#722)
This commit is contained in:
committed by
Vishwas Shashidhar
parent
a171c47fe5
commit
0255a692b9
@@ -56,7 +56,7 @@ export default class NotificationComp extends React.Component<{}, IState> {
|
||||
public render(): JSX.Element {
|
||||
const { title, company, body, image, icon, id, color } = this.state;
|
||||
const colorHex = (color && !color.startsWith('#')) ? '#' + color : color;
|
||||
const isLightTheme = (colorHex && colorHex.match(whiteColorRegExp)) || true;
|
||||
const isLightTheme = (colorHex && colorHex.match(whiteColorRegExp)) || false;
|
||||
|
||||
const theme = classNames({ light: isLightTheme, dark: !isLightTheme });
|
||||
const bgColor = { backgroundColor: colorHex || '#ffffff' };
|
||||
|
@@ -5,7 +5,7 @@
|
||||
--logo-bg: url('../assets/symphony-logo-black.png');
|
||||
}
|
||||
.dark {
|
||||
--text-color: #ffffff;
|
||||
--text-color: #000000;
|
||||
--logo-bg: url('../assets/symphony-logo-white.png');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user