Title: [236532] trunk/Source/WebInspectorUI
Revision
236532
Author
nvasil...@apple.com
Date
2018-09-26 16:23:53 -0700 (Wed, 26 Sep 2018)

Log Message

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):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (236531 => 236532)


--- trunk/Source/WebInspectorUI/ChangeLog	2018-09-26 23:10:41 UTC (rev 236531)
+++ trunk/Source/WebInspectorUI/ChangeLog	2018-09-26 23:23:53 UTC (rev 236532)
@@ -1,3 +1,17 @@
+2018-09-26  Nikita Vasilyev  <nvasil...@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  <nvasil...@apple.com>
 
         REGRESSION(r236237): Web Inspector: DarkMode: white background in Elements and Timelines

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ScopeChainDetailsSidebarPanel.css (236531 => 236532)


--- trunk/Source/WebInspectorUI/UserInterface/Views/ScopeChainDetailsSidebarPanel.css	2018-09-26 23:10:41 UTC (rev 236531)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ScopeChainDetailsSidebarPanel.css	2018-09-26 23:23:53 UTC (rev 236532)
@@ -63,3 +63,9 @@
     position: relative;
     top: 1px;
 }
+
+@media (prefers-dark-interface) {
+    .watch-_expression_-editor {
+        background-color: var(--background-color-code);
+    }
+}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to