REGRESSION(r236237): Web Inspector: DarkMode: white background in Elements and Timelines
authornvasilyev@apple.com <nvasilyev@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Sep 2018 21:04:56 +0000 (21:04 +0000)
committernvasilyev@apple.com <nvasilyev@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Sep 2018 21:04:56 +0000 (21:04 +0000)
https://bugs.webkit.org/show_bug.cgi?id=189852

Reviewed by Joseph Pecoraro.

* UserInterface/Views/Main.css:
(body):
(#main):

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

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

index de76893..bbc200d 100644 (file)
@@ -1,3 +1,14 @@
+2018-09-21  Nikita Vasilyev  <nvasilyev@apple.com>
+
+        REGRESSION(r236237): Web Inspector: DarkMode: white background in Elements and Timelines
+        https://bugs.webkit.org/show_bug.cgi?id=189852
+
+        Reviewed by Joseph Pecoraro.
+
+        * UserInterface/Views/Main.css:
+        (body):
+        (#main):
+
 2018-09-21  Brian Burg  <bburg@apple.com>
 
         Web Inspector: remove unnecessary WI.Platform.version checks
index 9d6a05e..f45283e 100644 (file)
@@ -49,7 +49,7 @@ body {
 
     -webkit-font-smoothing: subpixel-antialiased;
 
-    background-color: white;
+    background-color: var(--background-color-content);
 }
 
 body.docked.bottom {
@@ -133,7 +133,7 @@ input[type=range]::-webkit-slider-runnable-track {
     display: flex;
     flex-direction: column;
 
-    background-color: white;
+    background-color: var(--background-color-content);
 
     /* The position and z-index are needed to make negative z-index work in the DOM tree. */
     z-index: 0;