[wp-trac] [WordPress Trac] #63205: Gutenberg component CustomGradientPicker fails to parse theme.json gradients using size keywords (e.g., closest-side) (already fixed upstream, needs package update)
WordPress Trac
noreply at wordpress.org
Thu Apr 3 22:07:31 UTC 2025
#63205: Gutenberg component CustomGradientPicker fails to parse theme.json
gradients using size keywords (e.g., closest-side) (already fixed upstream,
needs package update)
--------------------------------+--------------------------------
Reporter: figureone | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: External Libraries | Version: trunk
Severity: normal | Resolution: reported-upstream
Keywords: | Focuses:
--------------------------------+--------------------------------
Comment (by figureone):
Thanks @dhruvik18! Piggybacking here with a related issue, we also noticed
gradient-parser does not handle gradients with CSS variables (custom
properties), which also causes problems when using theme colors in theme
gradients (theme.json). Similar behavior to this issue.
I have created a pull request for gradient-parser to support CSS
variables: https://github.com/rafaelcaricio/gradient-parser/pull/26
Let me know if you want me to open another trac ticket for this. It's hard
to say if the gradient-parser maintainer will merge this (there are a
number of other pull requests open), so I feel like the WordPress
community should monitor (or fork) to get this feature into Gutenberg.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63205#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list