Web Inspector: Dark Mode: new watch expression popover has light background
authornvasilyev@apple.com <nvasilyev@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 26 Sep 2018 23:23:53 +0000 (23:23 +0000)
committernvasilyev@apple.com <nvasilyev@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 26 Sep 2018 23:23:53 +0000 (23:23 +0000)
https://bugs.webkit.org/show_bug.cgi?id=190013
<rdar://problem/44810000>

Reviewed by Matt Baker.

Make the background dark to match the CodeMirror editor background.

* UserInterface/Views/ScopeChainDetailsSidebarPanel.css:
(@media (prefers-dark-interface)):
(.watch-expression-editor):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236532 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/ScopeChainDetailsSidebarPanel.css

index bbc200d..44302d1 100644 (file)
@@ -1,3 +1,17 @@
+2018-09-26  Nikita Vasilyev  <nvasilyev@apple.com>
+
+        Web Inspector: Dark Mode: new watch expression popover has light background
+        https://bugs.webkit.org/show_bug.cgi?id=190013
+        <rdar://problem/44810000>
+
+        Reviewed by Matt Baker.
+
+        Make the background dark to match the CodeMirror editor background.
+
+        * UserInterface/Views/ScopeChainDetailsSidebarPanel.css:
+        (@media (prefers-dark-interface)):
+        (.watch-expression-editor):
+
 2018-09-21  Nikita Vasilyev  <nvasilyev@apple.com>
 
         REGRESSION(r236237): Web Inspector: DarkMode: white background in Elements and Timelines
index 2972061..92d81b4 100644 (file)
@@ -63,3 +63,9 @@
     position: relative;
     top: 1px;
 }
+
+@media (prefers-dark-interface) {
+    .watch-expression-editor {
+        background-color: var(--background-color-code);
+    }
+}