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

Theme color palette #23

Open
brettsmason opened this issue Apr 26, 2018 · 2 comments
Open

Theme color palette #23

brettsmason opened this issue Apr 26, 2018 · 2 comments

Comments

@brettsmason
Copy link
Collaborator

Now that Gutenberg supports registering color palettes how could we integrate this into the build system too?

We could add colors to a json file and use something like this: https://github.com/Updater/node-sass-json-importer (thanks @m-e-h).

That way colors would only need updating in one place.

@justintadlock
Copy link
Member

justintadlock commented Jun 25, 2018

I'm not sure how far we're going to go with this in the build process. Ideas are welcome.

This ticket would definitely need to be addressed: WordPress/gutenberg#6425

We should have some basic theme support registered for custom colors as an example for theme authors, at the very least.

@justintadlock
Copy link
Member

Right now, I'm going to mark this for later. I think I need to build a Gutenberg-ready theme to really see how this might work. I could see this crossing from a config file over into the CSS, PHP, and potentially JS.

I think we'll need more time than we have before 1.0 to do this feature justice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants