create-block-theme icon indicating copy to clipboard operation
create-block-theme copied to clipboard

Ability to reset theme style settings

Open creativecoder opened this issue 2 years ago • 1 comments

What problem does this address?

A common workflow for updating theme settings using Create Block Theme is

  1. Load an existing base theme (Twenty Twenty Four is currently a common choice)
  2. Edit Global Styles
  3. Persist those to theme.json, using Create Block theme
  4. Export the theme files

One thing you can't do in this workflow (without manually editing theme.json) is to reset or remove a theme's styles, without overriding them.

We should have a way to do this in the UI, at least through a theme.json editor, but ideally in the Global Styles UI.

creativecoder avatar Dec 21 '23 18:12 creativecoder

Related to https://github.com/WordPress/create-block-theme/issues/466

creativecoder avatar Dec 21 '23 18:12 creativecoder

Agreed that this makes more sense to explore in CBT plugin for now. Thank you for creating this issue here!

annezazu avatar Jul 08 '24 19:07 annezazu