Skip to content

Link Color inheritance mismatch between editor and frontend. #37582

@scruffian

Description

@scruffian

Description

Link color settings are inherited differently in the editor and the front end. If I create a group block and set the link color to red, and then create a paragraph block and set the link color to purple, in the editor the link appears purple (as I would expect)
Screenshot 2021-12-22 at 10 15 11
Screenshot 2021-12-22 at 10 14 57

However in the frontend the group link color setting takes precidence:
Uploading Screenshot 2021-12-22 at 10.14.03.png…

Step-by-step reproduction instructions

  1. Add a group block
  2. Set the link color to red
  3. Add a paragraph block to the group
  4. Set the link color to purple

Screenshots, screen recording, code snippet

No response

Environment info

  • The screenshots above are for emptytheme, but this is an issue in all themes.

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.json[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions