From 9d891a3f9e93ea711284e9d5a4c8e8af16a11196 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Thu, 25 Jul 2024 06:00:04 +0300 Subject: [PATCH] show urlbar button: use theme variables for the icon color --- chrome/show_urlbar_button.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/chrome/show_urlbar_button.css b/chrome/show_urlbar_button.css index d98cd6e..4c575bc 100644 --- a/chrome/show_urlbar_button.css +++ b/chrome/show_urlbar_button.css @@ -44,9 +44,13 @@ See the above repository for updates as well as full license text. */ background-image: url("chrome://devtools/skin/images/tool-webconsole.svg"); background-repeat: no-repeat; background-position: center; - fill: currentColor; + color: var(--toolbar-color); + fill: light-dark(rgb(91, 91, 102), rgb(251, 251, 254)); -moz-context-properties: fill; } +:root[lwtheme] .urlbar-input-container:not(:focus-within){ + fill: var(--toolbarbutton-icon-fill); +} .urlbar-input-box.urlbar-input-box{ opacity: 1; width: 100%;