A platform for community discussion. Free, open, simple.
UX: Invert pikaday png for dark themes
Kris8546f0020ee2
diff --git a/app/assets/stylesheets/vendor/pikaday.scss b/app/assets/stylesheets/vendor/pikaday.scssindex 7880b8bc657..ea367f69cad 100644--- a/app/assets/stylesheets/vendor/pikaday.scss+++ b/app/assets/stylesheets/vendor/pikaday.scss@@ -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;