SDA-2080 - Make text notification black for 1.5 and update style template (#1001)

This commit is contained in:
Kiran Niranjan 2020-05-21 16:54:48 +05:30 committed by GitHub
parent d5e01d08f0
commit fb96529f4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 1 deletions

View File

@ -125,6 +125,7 @@ Typically you'll want to set content: url("") and adjust the width property
border-radius: 0; border-radius: 0;
padding: 10px 15px; padding: 10px 15px;
cursor: default; cursor: default;
align-content: center;
} }
.title-bar-button:hover { .title-bar-button:hover {

View File

@ -68,7 +68,7 @@ export default class NotificationComp extends React.Component<{}, IState> {
if (theme) { if (theme) {
themeClassName = theme; themeClassName = theme;
} else if (darkTheme.includes(color.toLowerCase())) { } else if (darkTheme.includes(color.toLowerCase())) {
themeClassName = 'light'; themeClassName = 'blackText';
} else { } else {
themeClassName = color && color.match(whiteColorRegExp) ? 'light' : 'dark'; themeClassName = color && color.match(whiteColorRegExp) ? 'light' : 'dark';
} }

View File

@ -1,5 +1,9 @@
@import "theme"; @import "theme";
.blackText {
--text-color: #000000;
--logo-bg: url('../assets/symphony-logo.png');
}
.light { .light {
--text-color: #525760; --text-color: #525760;
--logo-bg: url('../assets/symphony-logo.png'); --logo-bg: url('../assets/symphony-logo.png');