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

Remove/child theme #4861

Merged
merged 8 commits into from
Nov 4, 2021
Merged

Remove/child theme #4861

merged 8 commits into from
Nov 4, 2021

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 join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants