From 090b1672e504b4360a622a36182f6c281082d46e Mon Sep 17 00:00:00 2001 From: Nicolas Chevobbe Date: Fri, 12 Feb 2021 17:20:15 +0000 Subject: [PATCH] Bug 1692472 - [devtools] Tweak the light mode simulation icon. r=jdescottes. The sun icon is modified so it doesn't look similar to the settings icon we're using through devtools. Differential Revision: https://phabricator.services.mozilla.com/D105026 --- .../themes/images/rules-view-light-mode-simulation.svg | 7 ++++--- devtools/client/themes/rules.css | 6 ++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/devtools/client/themes/images/rules-view-light-mode-simulation.svg b/devtools/client/themes/images/rules-view-light-mode-simulation.svg index 337da75e615a..13ec129f0af6 100644 --- a/devtools/client/themes/images/rules-view-light-mode-simulation.svg +++ b/devtools/client/themes/images/rules-view-light-mode-simulation.svg @@ -1,6 +1,7 @@ - - - \ No newline at end of file + + + + diff --git a/devtools/client/themes/rules.css b/devtools/client/themes/rules.css index 99b4257d74a9..33c24cb2a0d6 100644 --- a/devtools/client/themes/rules.css +++ b/devtools/client/themes/rules.css @@ -767,11 +767,13 @@ background-image: url("chrome://devtools/skin/images/rules-view-print-simulation.svg"); } -#color-scheme-simulation-light-toggle:before { +#color-scheme-simulation-light-toggle::before { background-image: url("chrome://devtools/skin/images/rules-view-light-mode-simulation.svg"); + -moz-context-properties: fill, stroke; + stroke: currentColor; } -#color-scheme-simulation-dark-toggle:before { +#color-scheme-simulation-dark-toggle::before { background-image: url("chrome://devtools/skin/images/rules-view-dark-mode-simulation.svg"); }