Title: [246508] trunk/Source/WebInspectorUI
Revision
246508
Author
[email protected]
Date
2019-06-17 12:29:18 -0700 (Mon, 17 Jun 2019)

Log Message

Web Inspector: Go To Line dialog is white when in Dark Mode
https://bugs.webkit.org/show_bug.cgi?id=198596

Patch by Jamal Nasser <[email protected]> on 2019-06-17
Reviewed by Timothy Hatcher.

* UserInterface/Views/GoToLineDialog.css:
(@media (prefers-color-scheme: dark)):
(.go-to-line-dialog):
(.go-to-line-dialog > div > input):
(.go-to-line-dialog > div > input::placeholder):
(.go-to-line-dialog > div::before):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (246507 => 246508)


--- trunk/Source/WebInspectorUI/ChangeLog	2019-06-17 18:54:30 UTC (rev 246507)
+++ trunk/Source/WebInspectorUI/ChangeLog	2019-06-17 19:29:18 UTC (rev 246508)
@@ -1,3 +1,17 @@
+2019-06-17  Jamal Nasser  <[email protected]>
+
+        Web Inspector: Go To Line dialog is white when in Dark Mode
+        https://bugs.webkit.org/show_bug.cgi?id=198596
+
+        Reviewed by Timothy Hatcher.
+
+        * UserInterface/Views/GoToLineDialog.css:
+        (@media (prefers-color-scheme: dark)):
+        (.go-to-line-dialog):
+        (.go-to-line-dialog > div > input):
+        (.go-to-line-dialog > div > input::placeholder):
+        (.go-to-line-dialog > div::before):
+
 2019-06-17  Devin Rousso  <[email protected]>
 
         Web Inspector: Sources: searching doesn't use the case sensitive or regex global settings

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/GoToLineDialog.css (246507 => 246508)


--- trunk/Source/WebInspectorUI/UserInterface/Views/GoToLineDialog.css	2019-06-17 18:54:30 UTC (rev 246507)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/GoToLineDialog.css	2019-06-17 19:29:18 UTC (rev 246508)
@@ -93,3 +93,22 @@
 .go-to-line-dialog.non-empty > div > img {
     display: block;
 }
+
+@media (prefers-color-scheme: dark) {
+    .go-to-line-dialog {
+        background-color: var(--overlay-background);
+        border-color: hsla(0, 0%, var(--foreground-lightness), 0.2);
+    }
+
+    .go-to-line-dialog > div > input {
+        color: var(--text-color-active);
+    }
+
+    .go-to-line-dialog > div > input::placeholder {
+        color: var(--text-color-secondary);
+    }
+    
+    .go-to-line-dialog > div::before {
+        filter: invert();
+    }
+}
\ No newline at end of file
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to