Grid Inspector color should be dynamic |
||
Issue descriptionThe current grid inspector in V62 has a single dark purple color for the outline of grid nodes. This is extremely hard to see against dark nodes. Such as those seen on "Grid By Example" [1] for instance. The color should be calculated dynamically against the background color of the node it is being shown on. This will allow the contrast to be detected and if it falls under accessibility guidelines, use a different color. [1] https://gridbyexample.com/examples/code/example6.html
,
Nov 1 2017
There does not seem to be a good way to compute such a color (e.g. imagine non-uniform backgrounds, like gradient fill or an image). Also, changing such highlight color would make it confusing in some scenarios. We do need look for better highlight options (rulers seem to be one such option).
,
Nov 19 2017
So what about not dynamically computing the color at all and simply allowing users to change it? In what scenarios would that be confusing? Giving developers the option to change the color so they are able to see it is better than forcing one color that is difficult to see in quite a few cases with no way to modify it. |
||
►
Sign in to add a comment |
||
Comment 1 by dgozman@chromium.org
, Oct 23 2017Status: Assigned (was: Untriaged)