[wp-trac] [WordPress Trac] #65263: Colors from theme.json doesnt parse for hover states
WordPress Trac
noreply at wordpress.org
Tue May 19 02:18:53 UTC 2026
#65263: Colors from theme.json doesnt parse for hover states
-----------------------------+-----------------------------
Reporter: tonnysantana | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: trunk
Severity: normal | Keywords: needs-testing
Focuses: javascript, css |
-----------------------------+-----------------------------
When using variables from the theme.json, the value is not parsed and
doesn't save in the hover state for buttons.
You can test going to the site editor > styles > blocks > button &
selecting a color from the theme.json in the hover state. It is not going
to save unless you use a raw value that were not been saved in the theme.
https://yourwp.local/wp-admin/site-
editor.php?p=%2Fstyles§ion=%2Fblocks
If it somehow work with the default colors, try create a new one in the
theme.json
thank you
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65263>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list