WordPress / create-block-theme

A WordPress plugin to create block themes
https://wordpress.org/plugins/create-block-theme/
GNU General Public License v2.0
310 stars 44 forks source link

Overwrite existing Style Variation #633

Open elurie opened 1 month ago

elurie commented 1 month ago

To update a Style Variation, I tried: Editor>Create a Style Variation. Name is the same as the active style, (the one I just updated with headings are now Camel Case). Get message 'Style Variation Already Exists'. Is there a way to update and overwrite a variation? Or should I just create a new Variation with a new name, and delete the orig. from the Styles folder? Many thanks, Eve Lurie elurie@gmail.com

pbking commented 1 month ago

There isn't currently a way to remove or update a variation.

You're right, removing and then creating again is the only way to do this.

I think the ability to do BOTH would be good though. Overwriting probably the easiest to do (and most helpful).

elurie commented 1 month ago

Thanks for your response! Maybe it could be put on the ’To Do’ list?? The variation is so great, all you have is a small file, and a completely diff. look on the same site.

All the best, Eve Lurie ——————————————— Web Design & Build WordPress Maintenance Plans Web Hosting https://evelurie.com @.*** 510-839-5687

On May 14, 2024, at 4:30 AM, Jason Crist @.***> wrote:

There isn't currently a way to remove or update a variation.

You're right, removing and then creating again is the only way to do this.

I think the ability to do BOTH would be good though. Overwriting probably the easiest to do (and most helpful).

— Reply to this email directly, view it on GitHub https://github.com/WordPress/create-block-theme/issues/633#issuecomment-2109964133, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACDIFUY55FUCPIXDF2YMN5TZCHYVRAVCNFSM6AAAAABHVF3JDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBZHE3DIMJTGM. You are receiving this because you authored the thread.