-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Closed
Copy link
Labels
Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.jsonAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Block] Site TitleAffects the Site Title BlockAffects the Site Title Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
It is impossible to override theme.json setting with an instance of the Site Title block.
Step-by-step reproduction instructions
Add this to your theme.json file:
"core/site-title": {
"elements": {
"link": {
"color": {
"text": {
"ref": "styles.color.text"
}
}
}
}
}
Now add the site title block to a template/post and modify the color of the link. The setting from theme.json takes priority still.
Screenshots, screen recording, code snippet
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Metadata
Metadata
Assignees
Labels
Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.jsonAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Block] Site TitleAffects the Site Title BlockAffects the Site Title Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended