Skip to content

Fix: Solid color selected does not apply due to preset gradient#69642

Closed
karthikeya-io wants to merge 1 commit intoWordPress:trunkfrom
karthikeya-io:fix/gradient-lock-in
Closed

Fix: Solid color selected does not apply due to preset gradient#69642
karthikeya-io wants to merge 1 commit intoWordPress:trunkfrom
karthikeya-io:fix/gradient-lock-in

Conversation

@karthikeya-io
Copy link
Copy Markdown
Contributor

What?

Closes #69634 #67055 #42105

Why?

How?

Testing Instructions

Testing Instructions for Keyboard

Screenshots or screencast

Before After

@github-actions github-actions bot added the First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository label Mar 20, 2025
@github-actions
Copy link
Copy Markdown

👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @karthikeya-io! In case you missed it, we'd love to have you join us in our Slack community.

If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information.

@Andrew-Starr
Copy link
Copy Markdown

This works well to let the selected solid color override the default gradient, however the color indicator in the sidebar does not update to reflect the new solid color.

@karthikeya-io
Copy link
Copy Markdown
Contributor Author

And also I have noticed it later that for global theme color this PR fixes the issue but for blocks it only works in the editor and the color in the FE doesn't update, So I have closed this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gradient Lock-in on Elements and Blocks

2 participants