Merge branch 'master' into sda-1843

This commit is contained in:
Johan Kwarnmark 2020-05-22 09:14:35 +02:00 committed by GitHub
commit daacf18b50
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;
padding: 10px 15px;
cursor: default;
align-content: center;
}
.title-bar-button:hover {

View File

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

View File

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