Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Conversation

@pbking
Copy link
Contributor

@pbking pbking commented Oct 18, 2021

Created as an alternative to #4807

This change:

Copies the Custom Templates portion to any themes that don't have them. (Our build script made an exception for that collection that Gutenberg doesn't.

Removes the JSON merging step from Blockbase and all children.

Modifies the rebuild-child-themes.sh tool to copy child-theme.json to theme.json for all child themes.

This modification is done in a script so that this change can sit at-the-ready until all environments are ready to accept this change and won't (or at least, isn't likely to) conflict with any child-theme.json made prior to that readyness. To execute run ./rebuild-child-themes.sh (then delete that file) and then commit THOSE changes in the change as well. (But only when it's time to ship!)

@@ -1,5 +1,21 @@
{
"customTemplates": [
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like this should also be part of the child/parent inheritance in Gutenberg

Copy link
Member

@scruffian scruffian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I think it would be interesting to explore moving our SASS to CSS too, to totally remove the need for a build

@MaggieCabrera
Copy link
Contributor

LGTM. I think it would be interesting to explore moving our SASS to CSS too, to totally remove the need for a build

we would need to move things like the extra button styles to a separate stylesheet then

@scruffian scruffian merged commit dccace4 into trunk Nov 4, 2021
@scruffian scruffian deleted the remove/child-theme branch November 4, 2021 21:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants