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

Include default palette / Color palette skips named theme colors that match defaults #207

Open
vena opened this issue May 26, 2022 · 0 comments

Comments

@vena
Copy link

vena commented May 26, 2022

Might be better to explain this in two parts...

  1. In Kadence blocks, color selectors for text, background, etc, the palette includes add_theme_supports/theme.json defined colors, but does not include the "default" WP named color palette that core blocks provide.

A core block's color palette:
image

  1. I attempted to get around this by specifically defining common use colors like "white" or "black" in my theme. However, if a theme defines a named color in add_theme_supports/theme.json and the slug matches any of those default colors, the palette Kadence shows skips that color. Not too surprising since WP itself skips those colors in the "theme" palette because, I guess, it assumes the default palette is also available?

A Kadence block color palette:
image

@vena vena changed the title Color palette skips named theme colors that match defaults Include default palette / Color palette skips named theme colors that match defaults May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant