Skip to content
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

Gradient Tool: Add Radial Direction Option #24049

Open
Tracked by #33447
munirkamal opened this issue Jul 20, 2020 · 11 comments
Open
Tracked by #33447

Gradient Tool: Add Radial Direction Option #24049

munirkamal opened this issue Jul 20, 2020 · 11 comments
Labels
[Feature] Design Tools Tools that impact the appearance of blocks both to expand the number of tools and improve the experi [Feature] UI Components Impacts or related to the UI component system [Type] Enhancement A suggestion for improvement.

Comments

@munirkamal
Copy link
Contributor

Hi,

It would be great if there would be a direction option for radial-gradient type. Here is how it works in Divi Theme.
https://www.loom.com/share/ccd86ba0db8f44b29f9af91ff1fc2959

Thanks

@ItsJonQ
Copy link

ItsJonQ commented Jul 20, 2020

That's interesting! I'm interested to hear what others think

Ultimately, I think the goal is to offer maximum control with minimal UI. That's also the biggest challenge 🙈 .
At the moment, the existing gradient controls need to be visually simplified (in my opinion). I'm not sure where to add this positional feature (as cool as it may be!).

Don't let my thoughts dissuade anything though ❤️

@munirkamal
Copy link
Contributor Author

@ItsJonQ

Here is an online tool I found that also allows to set directions for the radial gradient.
https://www.css-gradient.com/

@richtabor
Copy link
Member

At the moment, the existing gradient controls need to be visually simplified (in my opinion).

I completely agree.

Screen Shot 2020-07-20 at 2 06 44 PM

@munirkamal
Copy link
Contributor Author

@ItsJonQ

Yeah, I also agree that the control needs some more refinements as there are a few glitches currently in using it. I just felt to add this issue as well while you are working on it, as this may enable more design possibilities in my opinion.

@mapk
Copy link
Contributor

mapk commented Jul 22, 2020

Some of the gradient controls are getting updated here: #23802

@mapk mapk added [Feature] Design Tools Tools that impact the appearance of blocks both to expand the number of tools and improve the experi [Feature] UI Components Impacts or related to the UI component system labels Jul 22, 2020
@mtias
Copy link
Member

mtias commented Aug 26, 2020

For reference, this is the design target:

image

@WordPress WordPress locked and limited conversation to collaborators Jul 15, 2021
@draganescu
Copy link
Contributor

Would a nice matrix control work for the radial center?

Screenshot 2023-04-07 at 19 03 41

@richtabor
Copy link
Member

Maybe, if you think that'd be enough control. I can imagine you'd want more flexibility though, like offsetting the radial out of the visible canvas to make it more subtle.

How do other web editor tools handle radial gradients?

@mtias
Copy link
Member

mtias commented Apr 13, 2023

We had a design for this already, no?

@draganescu
Copy link
Contributor

How do other web editor tools handle radial gradients?

From what I've seen they offer fixed options. I think it's because the option in CSS is pretty convoluted.

@mtias I think missed you previous comment :) Either way it'd be great to have it because it allows for many creative background [options.

Here ](https://developer.mozilla.org/en-US/docs/Web/CSS/gradient/radial-gradient) we can see we have to account for position of the center of the radial gradient but also extent. How would the direction knob solve this?

@richtabor
Copy link
Member

It's a bit more "hands on" but here's how Framer (and also Figma) handle more precise control for radial gradients. May be a fun experiment, though I don't think radial direction is a priority.

CleanShot.2023-04-19.at.20.45.07.mp4

@jordesign jordesign added the [Type] Enhancement A suggestion for improvement. label Aug 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
[Feature] Design Tools Tools that impact the appearance of blocks both to expand the number of tools and improve the experi [Feature] UI Components Impacts or related to the UI component system [Type] Enhancement A suggestion for improvement.
Projects
Status: Not Started
Development

No branches or pull requests

7 participants