WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
9.99k stars 4.02k forks source link

Theme Export: Update the theme meta data. #39191

Open scruffian opened 2 years ago

scruffian commented 2 years ago

There is a suggestion in https://github.com/WordPress/gutenberg/issues/38199 to "Replace the style.css file with information from theme.json."

It's not totally clear how this should work. I don't think the theme name and meta data should live in style.css and theme.json files should be portable across themes. Can we offer users tools to update this meta data in the Site Editor?

jffng commented 2 years ago

Can we offer users tools to update this meta data in the Site Editor?

I think having the option to update the theme name and slug upon export makes sense.