-
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
Default colours no longer show #7041
Comments
I've deactivated every plugin (except for Gutenberg) and switched the theme to the Gutenberg theme, and I still see a similar thing. I say similar because the blank colour selectors are now just block dots rather than black rings. There doesn't appear to be any errors when I look at the console (just a warning about using the If I switch to TwentySeventeen, which doesn't add support for Gutenberg, then the default colours show. Based on this very quick test, I would guess that the colours are being messed up when 'add_theme_support` is being used. |
The implementation for the editor color palette feature changed recently and now works with CSS classes and named color arrays. Make sure you don't have the old implementation anywhere in your theme, and also add the new custom color classes to your theme's stylesheet. |
@Netzberufler As mentioned in my initial comment, I didn't define any colours, which should mean that Gutenberg shows it's default colours. |
I'm unable to reproduce this with Twenty Seventeen active.
Which "Gutenberg theme" are you referring to? Maybe this is what needs to be updated? |
This was the Gutenberg theme I was referring to: I know this theme is quite out of date now but I tried it simply because it's got very minimal styling. I originally encountered the issue when using a theme I developed myself, which is up to date with Gutenberg changes. I've just updated to Gutenberg 3.0.0 and the default colours are showing again now, when using my own them and the Gutenberg theme. |
Thanks for the update, @maddisondesigns. Glad you were able to sort it out. |
Describe the bug
In my theme I've added support for wide and full images using
add_theme_support( 'align-wide' );
. I haven't specified any colours though.When I click on a Paragraph block and go to select a Background or Text colour, I'm not given any default colours. It simply shows 4 empty colour selectors.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Gutenberg used to provide a default selection of colours. If this is no longer the case, then those blank colour selectors should be removed as they serve no purpose.
Screenshots
macOS 10.12.1 (16B2659)
Firefox Quantum 60.0.1 (64-bit)
Gutenberg 2.9.2
The text was updated successfully, but these errors were encountered: