فهرست منبع

Add grayscale image filter

Hat tip to @pheus. Thanks!

I did end up leaving the filter function arguments as the Sass
processor complains when you try calling a filter function without
an argument. :/
Jason Novinger 1 سال پیش
والد
کامیت
e2e42acf42
2فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 0 0
      netbox/project-static/dist/netbox.css
  2. 1 1
      netbox/project-static/styles/custom/_misc.scss

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
netbox/project-static/dist/netbox.css


+ 1 - 1
netbox/project-static/styles/custom/_misc.scss

@@ -84,6 +84,6 @@ img.plugin-icon {
 body[data-bs-theme=dark] {
   // Assuming icon is black/white line art, invert it and tone down brightness
   img.plugin-icon {
-    filter: invert(100%) brightness(80%);
+    filter: grayscale(100%) invert(100%) brightness(80%);
   }
 }

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است