UX: Invert pikaday png for dark themes

This commit is contained in:
Kris 2019-01-21 13:47:46 -05:00
parent ba5e17a7a9
commit 8546f0020e
1 changed files with 3 additions and 0 deletions

View File

@ -119,6 +119,9 @@ $pd-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
background-repeat: no-repeat;
background-size: 75% 75%;
opacity: .5;
@if (lightness($secondary) < 50) { // invert the black png if the background is dark
filter: invert(1);
}
&:hover {
opacity: 1;