ELECTRON-1346 - Update notification text color to match previous version (#722)

This commit is contained in:
Kiran Niranjan
2019-07-12 14:42:50 +05:30
committed by Vishwas Shashidhar
parent a171c47fe5
commit 0255a692b9
2 changed files with 2 additions and 2 deletions

View File

@@ -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' };

View File

@@ -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');
}