-
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
Improve Custom Color Button #5258
Comments
The picker does make it a lot more obvious and seeing it I know right away what it does. |
I also prefer the picker! This looks so much better than it did in my head, nice work @karmatosed |
Agreed on picker. Thanks @rickybanister and @karmatosed! |
I prefer the picker too. |
I prefer the droplet picker icon in the first example and agree it would make the UI better. What would be even more ideal is when using the color picker the rainbow background then changed to the color that they picked. Although this makes things complicated as you would then need to know based on the custom color if the droplet picker icon should then be displayed using a dark or light color. But the UI already warns you if the color combination may be hard for people to read so the detection to know if the droplet picker icon should be light or dark based on the custom color selected appears to already be available. |
+1 for picker icon over droplet |
Picker over droplet for me |
…r, and required css fix Signed-off-by: Faishal Saiyed <[email protected]>
I started working on it. @karmatosed From where can I get picker dashicon? Should I request it in https://github.com/WordPress/dashicons ? |
Forgive me for jumping in way after the fact, you have permission to ignore me. Could we remove the rainbow swatch entirely, perhaps add another theme swatch in that spot, and simply show a blue link below that says "Custom Color" next to the "Clear" link? Seems like it would be easier to implement, and users wouldn't have to interpret the icon. |
I wouldn't be against that @jasmussen, although my concern is with 2 actions beside each other again of the 'custom color' and 'clear'. With our link styling that could get a little hard to work out which is which. @faishal it would be requesting this as a dashicon, however right now let's make sure we are going that path. Thank you for stepping up and once we have a route agreed we can help you get your PR committed. |
We could use gray buttons perhaps. Also I know how super annoying it is I'm coming in from the sidelines here, I do apologize, though I figure it's easier to test a quick link before drawing a new dashicon. |
I'd be up for testing, although I kind of feel link here would be confusing. Up for seeing. |
No, not as part of the core offering. But incidentally I just saw a plugin in development allowing this: https://wordpress.slack.com/archives/C02QB2JS7/p1522937131000291 |
Want to confirm we are going with adding If yes can we get the icon added to dashicons? https://github.com/WordPress/dashicons/tree/master/sources/svg/gutenberg |
Let's go with the picker and yes we'd need to have it added to dashicons. |
Here's how that might look. I still prefer the icon on the color swatch, myself. Now because Gutenberg uses Material icons, can we just go with something like this? which is linked here: https://material.io/tools/icons/?icon=colorize&style=outline Or does this necessitate a Dashicon to be created? |
The eye-dropper tool feels like the wrong tool here, as that's not actually what the custom color swatch does. And the fact that it is a swatch feels like we should show a swatch. How about this? SVG:
|
I actually really like the text link option. It's very clear and puts a bit more weight on the theme's supplied palette, which guides people to more consistent choices. |
Let's go with that then, it's super simple and if it is insufficient it can be revisited after. Also way simpler than anything we've proposed so far. |
I'm good with that decision. Let's get a PR up and ship it! |
From a recent meetup there was feedback that the color picker wasn't that obvious for everyone. Right now we just show the rainbow circle:
A suggestion was to add the 'droplet picker' icon, props to @rickybanister, but we could also add a droplet itself. I have done 2 versions and I think the droplet works well as a suggestion but visually easy to work out.
What do people think? Does this make it more obvious? Is this enough or should we do more? What else could we do?
The text was updated successfully, but these errors were encountered: