-
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
Separator Block: background color defined in theme.json is not applied correctly #43660
Labels
[Block] Separator
Affects the Separator Block
[Type] Bug
An existing feature does not function as intended
Comments
t-hamano
added
Needs Testing
Needs further testing to be confirmed.
[Block] Separator
Affects the Separator Block
labels
Aug 28, 2022
24 tasks
The style variation I worked on where I discovered this issue (Figma only atm): WordPress/twentytwentythree#135 |
ndiego
added
[Type] Bug
An existing feature does not function as intended
and removed
Needs Testing
Needs further testing to be confirmed.
labels
Sep 27, 2022
@c4rl0sbr4v0 @michalczaplinski and I will look into this. |
github-actions
bot
added
the
[Status] In Progress
Tracking issues with work in progress
label
Oct 13, 2022
@c4rl0sbr4v0 has filed #44943 to fix this 🙂 |
cbravobernal
moved this from In Progress
to Bumped to 6.1.1
in WordPress 6.1 Editor Tasks
Nov 2, 2022
Repository owner
moved this from Bumped to 6.1.1
to Done
in WordPress 6.1 Editor Tasks
Nov 2, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
[Block] Separator
Affects the Separator Block
[Type] Bug
An existing feature does not function as intended
Description
When defining a different background color for the separator block through
theme.json
or a style variant, the color is not properly displayed.Through
theme.json
, only thebackground-color
is defined. To actually change the color, the text color or the border color also has to change. Text color is deactivated inblock.json
, border controls are not available at the separator block.Changing the color through the settings in the block editor or site editor adds classes like
has-vivid-red-color
, which then changes the color. It uses thecolor
CSS property instead ofbackground-color
.Possible solutions:
theme.json
, add a CSS property withcolor
orborder-color
and the defined colorStep-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
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
The text was updated successfully, but these errors were encountered: