Opened 5 years ago
Last modified 11 months ago
#48684 new defect (bug)
Twenty Twenty: Issue with primary color in the block editor
Reported by: | grafruessel | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.3 |
Component: | Bundled Theme | Keywords: | has-screenshots needs-patch |
Focuses: | css | Cc: |
Description (last modified by )
Hi there,
I found an error in css , when working with gutenberg editor in backend.
When I select the primary color as background color the row editable functions dont work due to css error.
This class should be fixed:
.has-background.has-accent-background-color *:not(.has-text-color) { color: #f9f9f9; }
We can just delete this class or where else is it needed?
Thanks Niko
Attachments (5)
Change History (20)
#1
@
5 years ago
- Keywords needs-patch added; has-patch removed
- Summary changed from twenty twenty theme - primary color & gutenberg error to Twenty Twenty: Issue with primary color when using Gutenberg
#2
@
5 years ago
- Keywords needs-patch removed
- Summary changed from Twenty Twenty: Issue with primary color when using Gutenberg to twenty twenty theme - primary color & gutenberg error
#3
@
5 years ago
- Summary changed from twenty twenty theme - primary color & gutenberg error to Twenty Twenty: Issue with primary color when using Gutenberg
#9
@
5 years ago
Able to reproduce running WordPress 5.3, Twenty Twenty 1.0, and Gutenberg 7.0.0.
@karmatosed is unable to reproduce on WordPress 5.4-alpha-46812, Twenty Twenty 1.0, and Gutenberg master — so it might be fixed in Gutenberg master?
#10
@
5 years ago
@karmatosed, @melchoyce nope the error still exists.
Just tested with development version (5.4-alpha-46829) and with development version (5.4-alpha-46885)
Both versions you don't see the right color.
Twenty TwentyVersion: 1.0
I don't where I can check the Gutenberg Version.
If anyone want a login to the backend, just write me in slack. (same name)
#11
@
5 years ago
Thanks @grafruessel. You'd only be running the Gutenberg Master branch if you have it installed via the GitHub repo (vs. the latest plugin release, or the version in core).
#12
@
11 months ago
- Keywords needs-patch added; needs-testing removed
I am not able to reproduce the problem with the toolbars in WordPress 6.4, with or without Gutenberg active. The block toolbars are fully visible and fully functional for me, no matter what background color is used.
If I change the body background color in the customizer settings to black, there are some other contrast issues.
-In the customizer, open the color option and set the background to the first color swatch, the black.
- Open the block editor and add a media & text block. Set the background colot to primary.
- Notice that the media upload button has an incorrect text color, changed by:
.has-background.has-primary-background-color *:not(.has-text-color),
- Change the background color of the media & text block to accent.
- Notice that the media upload button has an incorrect text color, changed by:
.has-background.has-accent-background-color *:not(.has-text-color)
- Insert a group block (or row or stack). Set the background color to primary.
- Try to insert a new block inside the group. Notice that the + in the inserter button has the wrong color, changed by:
.has-background.has-primary-background-color *:not(.has-text-color)
#13
@
11 months ago
If we remove
.has-background.has-primary-background-color *:not(.has-text-color)
.has-background.has-accent-background-color *:not(.has-text-color)
Then the text color contrast in the nested blocks stops working.
@
11 months ago
WP 6.4: Text colors inside nested groups, not working as expected with the proposed CSS changes
Steps to reproduce:
Expected behaviour:
the buttons should stay visible
Current behaviour:
the text color is almost the background color #f9f9f9