References in theme.json
don't work in site editor upon user changes
#49745
Labels
[Feature] Site Editor
Related to the overarching Site Editor (formerly "full site editing")
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Type] Bug
An existing feature does not function as intended
In
theme.json
styles can be referenced to an existing top-level style (docs).The following example inverts the colors of the site title with respect to the top-level colors:
This works in the front and editors.
Bug: change the referenced value in the site editor
When the user makes changes to the referenced value, the value doesn't change accordingly:
Gravacao.de.ecra.a.partir.de.12-04-2023.09.36.55.webm
Moreover, upon saving and reloading the site editor, it stops working (it's properly rendered in the front):
The text was updated successfully, but these errors were encountered: