Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(831)

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/CSSShadowEditor.js

Issue 2305983002: DevTools: Modify shadow-editor canvas colors to work better with dark theme (Closed)
Patch Set: Preserve blues Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/ui/cssShadowEditor.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/ui/CSSShadowEditor.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/CSSShadowEditor.js b/third_party/WebKit/Source/devtools/front_end/ui/CSSShadowEditor.js
index b36bc405f6adb02d4fb7829907dbdbedc6bc7fb4..2cbbb0f63a51ae777e26bc734244bf0394b743fb 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/CSSShadowEditor.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/CSSShadowEditor.js
@@ -139,7 +139,7 @@ WebInspector.CSSShadowEditor.prototype = {
// Draw dashed axes.
context.save();
context.setLineDash([1, 1]);
- context.strokeStyle = "rgba(0, 0, 0, 0.2)";
+ context.strokeStyle = "rgba(210, 210, 210, 0.8)";
context.beginPath();
context.moveTo(this._halfCanvasSize, 0);
context.lineTo(this._halfCanvasSize, WebInspector.CSSShadowEditor.canvasSize);
@@ -153,7 +153,7 @@ WebInspector.CSSShadowEditor.prototype = {
context.save();
context.translate(this._halfCanvasSize, this._halfCanvasSize);
context.lineWidth = 2;
- context.strokeStyle = "rgba(0, 0, 0, 0.3)";
+ context.strokeStyle = "rgba(130, 130, 130, 0.75)";
context.beginPath();
context.moveTo(0, 0);
context.lineTo(thumbPoint.x, thumbPoint.y);
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/ui/cssShadowEditor.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698