Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zoologist: Secondary color not being applied to header or paragraph block #5787

Open
benchilcote opened this issue Mar 19, 2022 · 1 comment · May be fixed by #8595
Open

Zoologist: Secondary color not being applied to header or paragraph block #5787

benchilcote opened this issue Mar 19, 2022 · 1 comment · May be fixed by #8595
Assignees
Labels
Customer Report Issues or PRs that were reported via Happiness. aka "Happiness Request", or "User Report". [Theme] Zoologist Triaged [Type] Bug Something isn't working

Comments

@benchilcote
Copy link

Quick summary

When applying the secondary theme color to a paragraph or header block, the color change is not visible either in the editor, in a draft preview, or on a published page.

Steps to reproduce

  1. Activate the Zoologist theme
  2. Set a custom secondary color from Customize > Colors
  3. Create a new post or page and add a paragraph or header block with text
  4. Change the text color to the secondary theme color

What you expected to happen

I expect this to change the color immediately in the editor and then be reflected on the published page or post

What actually happened

The primary color is applied instead.

Context

Reported in #4875035-zen. I was able to test and reproduce. I tested on Zoologist and Russel and only Zoologist exhibited the behavior.

Screen Capture on 2022-03-19 at 10-56-16
Markup 2022-03-19 at 11 04 38

Simple, Atomic or both?

Simple

Theme-specific issue?

Zoologist

Browser, operating system and other notes

No response

Reproducibility

Consistent

Severity

No response

Available workarounds?

No response

Workaround details

This CSS seems to work:

/* Temporary fix for secondary color bug */
.has-secondary-color {
color: var(--wp--preset--color--secondary) !important;
}

@benchilcote benchilcote added [Type] Bug Something isn't working User Report labels Mar 19, 2022
@Robertght Robertght transferred this issue from Automattic/wp-calypso Mar 29, 2022
@Robertght
Copy link

I can confirm I can replicate this with Zoologist, however, Blockbase doesn't seem to rely on the Secondary color, but on the Foreground one.

Kerr seems to have the Foreground option as well.

@Robertght Robertght added this to the Bug herding 2022: week 13 milestone Mar 31, 2022
@jeherve jeherve added Customer Report Issues or PRs that were reported via Happiness. aka "Happiness Request", or "User Report". and removed User Report labels Dec 18, 2024
@pkevan pkevan self-assigned this Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Customer Report Issues or PRs that were reported via Happiness. aka "Happiness Request", or "User Report". [Theme] Zoologist Triaged [Type] Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants