Web Inspector: Dark Mode: pseudo elements in DOM tree are too dark
authornvasilyev@apple.com <nvasilyev@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Oct 2018 22:51:45 +0000 (22:51 +0000)
committernvasilyev@apple.com <nvasilyev@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Oct 2018 22:51:45 +0000 (22:51 +0000)
https://bugs.webkit.org/show_bug.cgi?id=190541
<rdar://problem/45238443>

Reviewed by Matt Baker.

* UserInterface/Views/DOMTreeOutline.css:
(@media (prefers-dark-interface)):
(.tree-outline.dom .html-pseudo-element):

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

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

index c0ca830..8179afc 100644 (file)
@@ -1,3 +1,15 @@
+2018-10-15  Nikita Vasilyev  <nvasilyev@apple.com>
+
+        Web Inspector: Dark Mode: pseudo elements in DOM tree are too dark
+        https://bugs.webkit.org/show_bug.cgi?id=190541
+        <rdar://problem/45238443>
+
+        Reviewed by Matt Baker.
+
+        * UserInterface/Views/DOMTreeOutline.css:
+        (@media (prefers-dark-interface)):
+        (.tree-outline.dom .html-pseudo-element):
+
 2018-10-15  Matt Baker  <mattbaker@apple.com>
 
         Web Inspector: REGRESSION (r233824): execution highlight range missing/incorrect in pretty printed code
index 774b8d2..59b2a4f 100644 (file)
@@ -339,4 +339,8 @@ body[dir=rtl] .tree-outline.dom li.parent.shadow::after {
         /* FIXME: This should use a variable. */
         background-color: hsla(53, 83%, 53%, 0.8);
     }
+
+    .tree-outline.dom .html-pseudo-element {
+        color: hsl(0, 80%, 65%);
+    }
 }