-
Notifications
You must be signed in to change notification settings - Fork 360
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
Remove/child theme #4861
Conversation
zoologist/child-theme.json
Outdated
@@ -1,5 +1,21 @@ | |||
{ | |||
"customTemplates": [ | |||
{ |
There was a problem hiding this comment.
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
There was a problem hiding this 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
we would need to move things like the extra button styles to a separate stylesheet then |
… re-defined the now missing custom templates items in the themes that would now lack them
2cf7684
to
aac77df
Compare
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 copychild-theme.json
totheme.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!)