Global styles and blocks colors #60656
Closed
gabripuglia
started this conversation in
Developer Experience
Replies: 1 comment
-
Resolved: the json files in styles folder have a different behavior respect the theme.json, when one of them is updated it's necessary to save again the style in editor page and the editor page must be refreshed because, probably, the configuration is loaded and saved in a JS variable during the loading of the page and it is not reloaded every time when we click the save button and start the call API to update the post in database reserved for the custom styles. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I created the directory "styles" in the root of my FSE theme, then i created inside the folder a json file to overwrite specific colors but the engine does not overwrite the colors inside settings->blocks->"block"->colors->palette when i apply the new global style from the editor page. The colors declared in settings->colors are correctly overwritten.
Is it a knew behavior?
Beta Was this translation helpful? Give feedback.
All reactions