Title: [287408] trunk/Source/WebInspectorUI
Revision
287408
Author
n...@apple.com
Date
2021-12-23 12:45:45 -0800 (Thu, 23 Dec 2021)

Log Message

Web Inspector: Dark mode: Make gradient editor angle input readable in dark mode
https://bugs.webkit.org/show_bug.cgi?id=234640

Reviewed by Devin Rousso.

Just use the native input styling, which is dark mode compatible by default.

* UserInterface/Views/GradientEditor.css:
(.gradient-editor > .gradient-angle > input[type="number"]):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (287407 => 287408)


--- trunk/Source/WebInspectorUI/ChangeLog	2021-12-23 20:36:41 UTC (rev 287407)
+++ trunk/Source/WebInspectorUI/ChangeLog	2021-12-23 20:45:45 UTC (rev 287408)
@@ -1,3 +1,15 @@
+2021-12-23  Tim Nguyen  <n...@apple.com>
+
+        Web Inspector: Dark mode: Make gradient editor angle input readable in dark mode
+        https://bugs.webkit.org/show_bug.cgi?id=234640
+
+        Reviewed by Devin Rousso.
+
+        Just use the native input styling, which is dark mode compatible by default.
+
+        * UserInterface/Views/GradientEditor.css:
+        (.gradient-editor > .gradient-angle > input[type="number"]):
+
 2021-12-21  Patrick Angle  <pan...@apple.com>
 
         Web Inspector: Assertion Failed removing subview in ContentViewContainer.prototype._disassociateFromContentView

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/GradientEditor.css (287407 => 287408)


--- trunk/Source/WebInspectorUI/UserInterface/Views/GradientEditor.css	2021-12-23 20:36:41 UTC (rev 287407)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/GradientEditor.css	2021-12-23 20:45:45 UTC (rev 287408)
@@ -89,12 +89,6 @@
     margin-right: 2px;
     padding-right: 4px;
     text-align: right;
-    font-size: 13px;
-    background-color: white;
-    border-radius: 4px;
-    border: 1px solid hsl(0, 0%, 60%);
-    box-shadow: inset 0 0 1px 1px hsl(0, 0%, 89%);
-    outline: none;
 }
 
 .gradient-editor > .gradient-angle > input::-webkit-inner-spin-button {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to