From e2e42acf4292814e9cd03a81ae982b96318177b3 Mon Sep 17 00:00:00 2001 From: Jason Novinger Date: Tue, 29 Apr 2025 11:53:12 -0500 Subject: [PATCH] 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. :/ --- netbox/project-static/dist/netbox.css | Bin 555020 -> 555036 bytes .../project-static/styles/custom/_misc.scss | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/project-static/dist/netbox.css b/netbox/project-static/dist/netbox.css index 304875c115ed265000fd79a7872e6fdde19b4452..4bdc8cc1817cacb088f3454595384c836c3ff4f3 100644 GIT binary patch delta 47 zcmeDApg8A)VnYjK3sVbo3rh=Y3tJ2O7LJy3f%Kxp%Hrh2oKy`%0|Qk}h3PHj9323n Cvk*=I delta 30 lcmbR9L9yq9VnYjK3sVbo3rh=Y3tJ2O7LJzk=~K!%Ism$@3v2)Y diff --git a/netbox/project-static/styles/custom/_misc.scss b/netbox/project-static/styles/custom/_misc.scss index a28fffb49..2ba3262f6 100644 --- a/netbox/project-static/styles/custom/_misc.scss +++ b/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%); } }