Skip to content

anakite/storechild

 
 

Repository files navigation

Storechild

Child theme starter for Storefront.


The following things are configured in the child theme:

  • Script loading
  • Frontend JavaScript detection
  • Default values / Initial configuration of Storechild and it's integrations with the Storefront Extensions.
  • Child theme Javascript file

Default Storefront and Extension values

Storechild uses Storechild_Customizer::return_storechild_defaults() and Storechild_Integrations::return_storechild_extension_defaults() to automatically set some defaults for you in the customizer. Use the example to set defaults for any settings you want to change.

Grunt

Storechild uses Grunt to fulfill various tasks such as;

  • Sass compilation into CSS
  • RTL CSS generation
  • Javascript minification + linting

This can all be done automatically using the watch task. cd into the storechild directory in terminal then run grunt watch. This will monitor the files in the theme and compile / minify etc as and when they're modified. Remember to install the project dependencies first with npm install.

New to Grunt?

There's a great getting started guide on the Grunt web site. You will also need install Node if you haven't already. There's information on how to do that here.

About

Child theme starter for Storefront

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 71.8%
  • CSS 14.3%
  • JavaScript 13.9%