-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As a user I want to know which leaf is selected/active so that I know what I’m looking at #57
Comments
@rlskoeser @jhimpele please take a look at my proposals for the visual styles of a selected leaf here on figma – there are 9 proposals, numbered with short descriptions/identifiers. Some notes below
|
@gissoo I love the glow! I'm not certain how to implement it with the SVG paths I'm using to draw the leaf shapes, but I think it should be feasible. I prefer glow with outlines to just glow; I like 2 (active glow + outline matching leaf color) and 4 (black outline + yellow glow) best. I dislike 7, 8, and 9. I think 6 (black outline only) would be a good fallback if the glow is not technically feasible. |
Outer glow + outline - 1 is a winner! That is, the outline and leaf are same color. Fingers crossed @rlskoeser can make that happen. |
@rlskoeser @jhimpele thank you for the comments! I think we're very close in what we like here. I agree with your points, and hope we can make the glow happen. Can you take a look at this new version with intensified glow and let me know if you still prefer the version with an outline? (named it 1.1 vs version 1 that you'd looked at this morning) |
I prefer the original with the colored outline and less intense glow!
|
@gissoo I also still prefer the version with the outline. |
@gissoo additional questions:
|
@jhimpele @rlskoeser ok – I'll adjust the colors a bit more carefully now that your decision is on the outline version. @rlskoeser I wanted to ask you about this in person: I'd like to hold off on making a decision for the labels till we have a better view of the tree and the zoom levels, and spacing between the labels. |
@rlskoeser @jhimpele Please take another look at the active leaves before we close. We've decided to proceed with the version that has both the outline and the glow. I worked on the following, and I've had to adjust the colors for the reasons below:
Note: I'm going to increase the points on this issue because of the complexities associated with this version and what was needed to be done to balance between accessibility reqs and aesthetics. For example there is no way to generate a hex value from an opacity % on figma, which is needed to test color accessibility, therefore I needed to add one more step there to experiment between % levels.
|
Also, the hover state should stay the same as the active. Let's not discuss the styling for labels here. We can discuss at our meeting and/or another issue. This issue has gotten complicated enough. I've also created a separate issue for the leaf's focus state. (that is when you select a leaf using your keyboard instead of mouse/touchpad) |
Thanks @gissoo — the styles look good. I'm not sure what's needed for hand-off. I see the glow effects in the library but I don't see how to inspect them. I would prefer to use the opacity levels via rgba colors. For the darkened version of the colors, I may be able to use a CSS filter to adjust brightness, but since you've already calculated the RGB I'm inclined to use that. Do you have a preference? |
This looks good, though the outline on the red/orange leaves look a bit dark compared to leaf color. Also, can the outlines be thinner? Or are they that size for accessibility. Finally, I wonder if we will have to change the outlines and or glow size once there are more leafs....Or if the zooming will obviate that problem..... |
@jhimpele I've revised the thickness of the outline so it's now 3px instead of 4. I think it's making a lot of difference now, thanks for pointing it out, it was too thick. You can view them here on Figma
@rlskoeser let's not mess with adjusting brightness, I already have them calculated, they were already there but here I've displayed them in the labels for you let me know, if not I can walk you through it. |
@jhimpele @rlskoeser let me know if we can close this issue. |
Looks good to me, @gissoo . Thanks for explaining. |
@gissoo agreed, thanks for documenting & explaining. |
What's in scope: the visual style of a selected leaf
The text was updated successfully, but these errors were encountered: