If you want to jump start developing your theme, you can copy an
existing theme’s files and build on top of them. The gulp kickstart
task
automates this process for you. It copies another theme’s css, images, js, and
templates into the src
directory of your own. While this is similar to
extending your theme with a base theme or a themelet, kickstarting from another
theme is a one time inheritance, whereas extending from another theme is a
dynamic inheritance that applies your src
files on top of the base theme on
every build.
To kickstart your theme, follow these steps:
-
Navigate to your theme’s root folder and run
gulp kickstart
.Figure 1: Run the `gulp kickstart` task to copy a theme's files into your own theme.
-
Select where the theme is located. You can copy files from globally installed themes or themes published on the npm registry.
Figure 2: You can copy files from globally installed themes.
-
The theme’s files are copied into your own theme, jump starting development.
Figure 3: The kickstart tasks copies another theme's files into your own, potentially overwriting files.