From 2b6e8c67a6eba3d5b1103eeb5f438dc47928c17b Mon Sep 17 00:00:00 2001 From: Stefan Sterz Date: Mon, 16 Oct 2023 18:28:49 +0200 Subject: [PATCH] dark-mode: set intentionally black icons to `$icon-color` some icons intentionally use black as their color in the light theme. this includes the little pencil and check mark icon in the acme overview. change their color to the regular dark-mode icon-color. for this to work the filter inversion needed for some other icons needs to be removed too. Signed-off-by: Stefan Sterz --- src/proxmox-dark/scss/other/_icons.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/proxmox-dark/scss/other/_icons.scss b/src/proxmox-dark/scss/other/_icons.scss index d4dc316..c045cf4 100644 --- a/src/proxmox-dark/scss/other/_icons.scss +++ b/src/proxmox-dark/scss/other/_icons.scss @@ -104,6 +104,9 @@ } // pbs show task log in longest task list column +.fa.black, +.fa.black::after, +.fa.black::before, .x-action-col-icon.fa-chevron-right::before { filter: none; } @@ -222,6 +225,12 @@ } } +// set icon color of intentional black icons (e.g.: pencil icon for +// quickly changing the ACME account) +.fa.black { + color: $icon-color; +} + // The usage icons dynamically displaying how full a storage is .usage-wrapper { border: 1px solid $icon-color;