Added option to invert thumbnails in dark mode

This commit is contained in:
Bolko Schreiber
2021-02-25 13:57:45 +01:00
parent 70f657beff
commit 772f5cb1a8
10 changed files with 32 additions and 7 deletions

View File

@@ -138,6 +138,16 @@ $border-color-dark-mode: #47494f;
}
.doc-img {
mix-blend-mode: normal;
border-radius: 0;
border-color: $bg-dark-mode;
&.border-right {
border-right: none !important;
}
}
.doc-img-inverted {
mix-blend-mode: normal;
filter: invert(95%) hue-rotate(180deg);
border-radius: 0;
@@ -148,7 +158,7 @@ $border-color-dark-mode: #47494f;
}
}
.card-selected .doc-img {
.card-selected .doc-img .doc-img-inverted {
mix-blend-mode: luminosity;
}