Title: [250854] trunk/Source/WebInspectorUI
- Revision
- 250854
- Author
- [email protected]
- Date
- 2019-10-08 13:08:56 -0700 (Tue, 08 Oct 2019)
Log Message
Web Inspector: Canvas: the navigation sidebar icon isn't inverted in dark mode
https://bugs.webkit.org/show_bug.cgi?id=202681
Reviewed by Matt Baker.
* UserInterface/Views/CanvasSidebarPanel.css:
(@media (prefers-color-scheme: dark) .sidebar > .panel.navigation.canvas > .content > .tree-outline .item.canvas .icon): Added.
* UserInterface/Views/CanvasTabContentView.css:
(@media (prefers-color-scheme: dark) .content-view.tab.canvas .navigation-bar > .item .canvas-overview .icon):
Drive-by: slightly darken the Canvas Overview hierarchical path component icon so it better
matches the colors of the nearby canvas icons.
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (250853 => 250854)
--- trunk/Source/WebInspectorUI/ChangeLog 2019-10-08 19:53:56 UTC (rev 250853)
+++ trunk/Source/WebInspectorUI/ChangeLog 2019-10-08 20:08:56 UTC (rev 250854)
@@ -1,3 +1,18 @@
+2019-10-08 Devin Rousso <[email protected]>
+
+ Web Inspector: Canvas: the navigation sidebar icon isn't inverted in dark mode
+ https://bugs.webkit.org/show_bug.cgi?id=202681
+
+ Reviewed by Matt Baker.
+
+ * UserInterface/Views/CanvasSidebarPanel.css:
+ (@media (prefers-color-scheme: dark) .sidebar > .panel.navigation.canvas > .content > .tree-outline .item.canvas .icon): Added.
+
+ * UserInterface/Views/CanvasTabContentView.css:
+ (@media (prefers-color-scheme: dark) .content-view.tab.canvas .navigation-bar > .item .canvas-overview .icon):
+ Drive-by: slightly darken the Canvas Overview hierarchical path component icon so it better
+ matches the colors of the nearby canvas icons.
+
2019-10-07 Devin Rousso <[email protected]>
Web Inspector: Settings: enable the image transparency grid by default and create a checkbox for it
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/CanvasSidebarPanel.css (250853 => 250854)
--- trunk/Source/WebInspectorUI/UserInterface/Views/CanvasSidebarPanel.css 2019-10-08 19:53:56 UTC (rev 250853)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/CanvasSidebarPanel.css 2019-10-08 20:08:56 UTC (rev 250854)
@@ -103,4 +103,8 @@
.sidebar > .panel.navigation.canvas > .navigation-bar > .item.record-start-stop.disabled > .glyph {
filter: grayscale() invert();
}
+
+ .sidebar > .panel.navigation.canvas > .content > .tree-outline .item.canvas .icon {
+ filter: invert();
+ }
}
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/CanvasTabContentView.css (250853 => 250854)
--- trunk/Source/WebInspectorUI/UserInterface/Views/CanvasTabContentView.css 2019-10-08 19:53:56 UTC (rev 250853)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/CanvasTabContentView.css 2019-10-08 20:08:56 UTC (rev 250854)
@@ -45,7 +45,7 @@
@media (prefers-color-scheme: dark) {
.content-view.tab.canvas .navigation-bar > .item .canvas-overview .icon {
- filter: invert(88%);
+ filter: invert(60%);
}
.content-view.tab.canvas .navigation-bar > .item .canvas .icon,
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes