Web Inspector: Dark Mode: resource search field has white text on white background
authornvasilyev@apple.com <nvasilyev@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 Jul 2018 00:44:29 +0000 (00:44 +0000)
committernvasilyev@apple.com <nvasilyev@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 Jul 2018 00:44:29 +0000 (00:44 +0000)
https://bugs.webkit.org/show_bug.cgi?id=187423

Reviewed by Timothy Hatcher.

Match the colors of sidebar filter fields.

* UserInterface/Views/DarkMode.css:
(@media (prefers-dark-interface)):
(.find-banner > input[type="search"]):

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

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

index 02fc7e2..990632b 100644 (file)
@@ -1,3 +1,16 @@
+2018-07-06  Nikita Vasilyev  <nvasilyev@apple.com>
+
+        Web Inspector: Dark Mode: resource search field has white text on white background
+        https://bugs.webkit.org/show_bug.cgi?id=187423
+
+        Reviewed by Timothy Hatcher.
+
+        Match the colors of sidebar filter fields.
+
+        * UserInterface/Views/DarkMode.css:
+        (@media (prefers-dark-interface)):
+        (.find-banner > input[type="search"]):
+
 2018-07-04  Tim Horton  <timothy_horton@apple.com>
 
         Introduce PLATFORM(IOSMAC)
index abfc964..2f98d61 100644 (file)
 
 
     /* FindBanner.css */
+    .find-banner > input[type="search"] {
+        background-color: var(--background-color-alternate);
+        border-color: var(--background-color-selected);
+    }
+
     .find-banner.console-find-banner > input[type=search]:not(:placeholder-shown) {
         color: unset;
         background-color: unset;