-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Add: Gradient palette editor #36820
Add: Gradient palette editor #36820
Conversation
Size Change: +221 B (0%) Total Size: 1.1 MB
ℹ️ View Unchanged
|
ba82182
to
f090291
Compare
f090291
to
5fc88e3
Compare
It looks like the gradients are not being visualized in the site editor (global styles and block settings sidebars). The reason is that the CSS Custom Properties are not in scope. There's already an issue to track this #30642 I still tested that selecting a gradient affects the styles of the block (block sidebar) and the global styles. Also tested that users can update the value of the gradient for default & theme styles and can create their own as well. So, the functionality added by this PR is working as expected. |
Got a potential fix for the issue with custom properties at #36851 I've also tested merging that branch into this one and it works as expected (gradients are visible, gradients can be edited, editing the gradients update the sidebar and the canvas, etc). |
I'm tempted to merge this one before the fix for CSS custom properties. They are unrelated anyway. Going to wait a bit to see if the fix lands today. |
Co-authored-by: André <[email protected]>
Adds the ability for the user to modify the gradient palettes.
How has this been tested?
I verified a user can change default, theme, and custom gradient palettes.