mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-21 08:34:40 -06:00
SDA-2080 - Make text notification black for 1.5 and update style template (#1001)
This commit is contained in:
parent
d5e01d08f0
commit
fb96529f4f
@ -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 {
|
||||||
|
@ -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';
|
||||||
}
|
}
|
||||||
|
@ -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');
|
||||||
|
Loading…
Reference in New Issue
Block a user