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

Generate a Theme Style Guide with theme.json data #48141

Closed
bhubbard opened this issue Feb 16, 2023 · 3 comments
Closed

Generate a Theme Style Guide with theme.json data #48141

bhubbard opened this issue Feb 16, 2023 · 3 comments
Labels
Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json [Type] Enhancement A suggestion for improvement.

Comments

@bhubbard
Copy link

What problem does this address?

Using theme.json is great progress in the efforts to standardize and streamline. However there is no one quick and easy way to see what is set in the theme.json as a user. I propose we look into creating a theme style guide. It would be a WordPress admin page that shows all the theme.json details in a more user pleasing manner. For example we could have a section showing all the colors created in the theme.json along with their names, and slugs. Yes users can use devtools, or edit a post and look at the choose colors control, but neither are great options (or obvious) if you want to read all the color names in an easy list format.

@kathrynwp kathrynwp added [Type] Enhancement A suggestion for improvement. Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json labels Feb 16, 2023
@carolinan
Copy link
Contributor

@bhubbard Do you mean specifically for classic themes that do not support the Site Editor?
Because all the colors are already listed in the Site Editor, and the blocks can be previewed in the Site Editor style book.

@bhubbard
Copy link
Author

@carolinan I was referring for classic themes, but also having an dedicated admin page showing the style book might be enough, as its not always obvious where to find it.

@annezazu
Copy link
Contributor

annezazu commented Oct 3, 2023

I think this is a duplicate of #41119 I'm going to close out as a result but let me know if I'm missing something and this needs to be reopened :)

@annezazu annezazu closed this as completed Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

4 participants