mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
Made SquaresDark theme really dark.
Due to that, e-mails with incorrect background/color settings are unreadable. So a new feature in the settings is there to remove colors from messages. Not perfect yet, but it works.
This commit is contained in:
parent
fac36e828b
commit
2982027dd2
22 changed files with 164 additions and 63 deletions
|
|
@ -300,8 +300,7 @@ class MessageViewMailBoxUserView extends AbstractViewRight {
|
|||
|
||||
detectDomBackgroundColor(dom) {
|
||||
let color = '';
|
||||
|
||||
if (dom) {
|
||||
if (dom && !SettingsStore.removeColors()) {
|
||||
let limit = 5,
|
||||
aC = dom;
|
||||
while (!color && aC && limit--) {
|
||||
|
|
@ -317,7 +316,6 @@ class MessageViewMailBoxUserView extends AbstractViewRight {
|
|||
|
||||
color = isTransparent(color) ? '' : color;
|
||||
}
|
||||
|
||||
return color;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue