-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Block caption invisible in some themes #32470
Comments
I don't see how #31870 could have caused this. The rule making it white is:
Which is set by: gutenberg/packages/base-styles/_mixins.scss Lines 193 to 201 in b2466ba
The theme is detected to be dark. Was the editor background previously dark? As far as I can see the theme is not setting a dark background. Cc @jasmussen |
Not too long ago, a WordPress theme explicitly had to declare that it was "a dark theme", which would then result in the |
I think I see the problem. I'll make a PR. |
Description
The caption text element (
<figcaption>
) has a transparent color set on some themes for some reason, making it invisible.Step-by-step reproduction instructions
Twenty Fourteen
theme set;Expected behaviour
The caption text (
<figcaption>
) should have a color that contrasts with the background to make it visible to the user, it should not be transparent.Actual behaviour
The caption text element (
<figcaption>
) has a transparent color set on some themes (more details below) for some reason, making it invisible.Screenshots or screen recording (optional)
WordPress information
Device information
The text was updated successfully, but these errors were encountered: