Closed ivan-ottinger closed 1 month ago
I've detected changes to the following themes in this PR: Assembler. You can preview these changes by following the links below:
I will update this comment with the latest preview links as you push more changes to this PR. β οΈ Note: The preview sites are created using WordPress Playground. You can add content, edit settings, and test the themes as you would on a real site, but please note that changes are not saved between sessions.
Changing the link color and hover color worked for me in a post, but I'm not seeing the hover color when editing a template:
Is that expected?
Changing the link color and hover color worked for me in a post, but I'm not seeing the hover color when editing a template:
Thanks for catching that, Allison! Keeping the color inheritance in and removing just the !important
as Luis suggested above fixes that as well. π
Thank you for additional review, Allison!
Hey @Automattic/theam ππΌπ Just wanted to check if we can merge this PR - or - whether you will be merge and deploying it later?
(I already read the docs here: https://github.com/Automattic/themes/blob/trunk/CONTRIBUTING.md, but haven't contributed to this repo yet)
Thanks!
Thanks for the ping, @ivan-ottinger! Feel free to merge this PR whenever you're ready. As this is a dotcom theme, either @alaczek or @miksansegundo would usually handle the deployment, but I'm also happy to help deploy.
Let me double check; I'm trying to recall why it was added in the first place.
I actually think we can just remove the whole bit, as link color set to currentColor like this. I'm pretty sure this was for some specificity issue, but that has since been resolved.
Theme-Check results
This is working well for me now! I see the hover colors while editing and they show up correctly in the published post. The hover color is also visible when editing global styles. β
Hey @allilevine ππΌ Interestingly, all is working well even with the whole color inheritance gone. I think it must have been some kind of glitch before.
The only issue I noticed (not related to this PR, nor the theme either) is that when the Title block is added when editing templates, the anchor isn't being added to the markup:
As a result, the styles don't get applied.
It is not clear to me if this is a bug or done on purpose for some reason, so I opened a new issue in the Gutenberg repo: https://github.com/WordPress/gutenberg/issues/65691
Thank you for the additional review and merge @mikachan, @alaczek and @richtabor!
For completeness, here's the difference between having color inheritance in vs not:
Fixes https://github.com/Automattic/themes/issues/8193.
Changes proposed in this Pull Request:
There doesn't seem to be a need for the
!important
inherited color override that is causing small regression with the hover link color.Testing instructions:
Title
andHeading
blocks to a page / post and make sure these titles are linked somewhere (#
should be enough).Related issue(s):