From 69e352624eb77d6b9058dad145f1f5a3054a41dc Mon Sep 17 00:00:00 2001 From: Mauro Balades Date: Fri, 19 Jul 2024 16:55:00 +0200 Subject: [PATCH] chore: Remove unused CSS color property --- src/toolkit/actors/SelectParent-sys-mjs.patch | 13 +++++++++++++ src/toolkit/themes/shared/zen-popup.css | 1 - 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 src/toolkit/actors/SelectParent-sys-mjs.patch diff --git a/src/toolkit/actors/SelectParent-sys-mjs.patch b/src/toolkit/actors/SelectParent-sys-mjs.patch new file mode 100644 index 000000000..d4bb214a2 --- /dev/null +++ b/src/toolkit/actors/SelectParent-sys-mjs.patch @@ -0,0 +1,13 @@ +diff --git a/toolkit/actors/SelectParent.sys.mjs b/toolkit/actors/SelectParent.sys.mjs +index fa8ce002f0cd64395d04bcd1f93f6f8a89417a62..c7d2865e8e78015e253f0ef1a82f1ec57a4fe255 100644 +--- a/toolkit/actors/SelectParent.sys.mjs ++++ b/toolkit/actors/SelectParent.sys.mjs +@@ -103,7 +103,7 @@ export var SelectParentHelper = { + } + + menupopup.setAttribute("style", ""); +- menupopup.style.colorScheme = isDarkBackground ? "dark" : "light"; ++ //menupopup.style.colorScheme = isDarkBackground ? "dark" : "light"; + menupopup.style.direction = selectStyle.direction; + + stylesheet = doc.createElementNS("http://www.w3.org/1999/xhtml", "style"); diff --git a/src/toolkit/themes/shared/zen-popup.css b/src/toolkit/themes/shared/zen-popup.css index 73faa6c14..8d83ae7b7 100644 --- a/src/toolkit/themes/shared/zen-popup.css +++ b/src/toolkit/themes/shared/zen-popup.css @@ -380,7 +380,6 @@ hbox.editBMPanel_folderRow { menu, menuitem { &:where([_moz-menuactive]:not([disabled="true"])) { background-color: var(--button-hover-bgcolor); - color: light-dark(black, white); } }