-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Consider select state with background color change on toolbars #21814
Comments
Thanks for the ticket. Let me just be sure I understand things right because there may be nuance I missed. There's a toggled state, and there's a "dropdown is open" state. In the case of the line tools with bold and italic, you select something, make it bold, and so long as the caret is in bold text, you see the bold button toggled -- which is dark and inverted. In the example you show the alignments is highlighted/toggled -- was it meant to indicate that this menu is also "open"? Because if yes, then I'd ambiguate between those two. See the following: In this case, the Wide alignment is chosen for the cover block, and is correctly shown as toggled (dark, inverted). The dropdown is also shown as opened, which at the moment is indicated with a blue icon color. This color change is a little subtle, so the thought I had was whether there were different treatments to showing this menu as being open. One option is to not change the blue color at all and just rely on what has focus and geographic spacing to indicate where you are. But I'd avoid mixing in the dark/inverted "toggled" state with "dropdown is open" state. |
I sort of was thinking of the 'something is set' being an indicator. A balance might yes then be to not change the blue color and rely on focus. I feel that clears up some confusion. |
I'm still trying to understand the various design decisions in G2, so I'm glad this was surfaced. Thanks for the discussion. It looks like it was intentional, and appears to work well in multiple places, so I'll close this one out. |
The current implementation of select state on inner toolbars, for example with bold styling, is to have a background color:
I think bringing this also into the block top toolbar makes sense:
This was a point in discussion with @jasmussen in #21727 and I said there I'd create this issue. I'd be keen to discuss if this makes sense for people as a toolbar selected state, no matter where the toolbar is within the block.
The text was updated successfully, but these errors were encountered: