Hi - Thanks for the update it is something I have been waiting on!

Can you please explain the best method to use to update my subtheme?

Thanks

Comments

leovw’s picture

Issue summary: View changes
kevinquillen’s picture

The quickest way I have found to get caught up with an existing subtheme is the following:

- Delete all scripts under js/foundation in your theme
- Delete all under scss/foundation/components in your theme
- Run bower update in terminal
- Run grunt

Grunt should copy the files to their correct places.

kevinquillen’s picture

The quickest way I have found to get caught up with an existing subtheme is the following:

- Delete all scripts under js/foundation in your theme
- Delete all under scss/foundation/components in your theme
- Run bower update in terminal
- Run grunt

Grunt should copy the files to their correct places.

aanjaneyam’s picture

But I see that there are changes in files other than js/foundation and scss/foundation/components in STARTER folder. Will grunt copy them too? A little bit more explanation on the process will be extremely helpful. I have to update the subtheme on a live site. Off course I will first test it on dev server.

kevinquillen’s picture

Working on docs as we speak. Things are moving pretty fast all around.

ladybug_3777’s picture

This is a good question because when an upgrade (or patch) modifies the STARTER folder, those changes wouldn't exist in our already created subthemes that used that STARTER as it's base. The release notes also do not always contain the detail of what exactly what changed so it's tough to sort through sometimes.

Love version 5, but upgrading is always a bit scarey because I'm afraid I'm going to miss something in my subtheme.

shadysamir’s picture

What about template files in STARTER and other non-foundation (theme specific) files in STARTER?

shauntyndall’s picture

Title: How to update subtheme? » Document subtheme updating process.
Version: 7.x-5.0-alpha7 » 7.x-5.x-dev
Component: Miscellaneous » Documentation
Assigned: Unassigned » shauntyndall
ladybug_3777’s picture

Any update available on this? I have a few sites I'd really like to upgrade the base Zurb theme for, but I'm concerned about how I will alter my custom theme (which was developed from an older version STARTER) to ensure things don't break.

Anyone have a general process they follow for this? Or maybe a list of files they always replace in their custom theme when upgrading?