Using Feature to apply themes in SharePoint 2013 Preview

In my previous post I wrote about applying custom theme to SharePoint 2013 site using new theming engine. I also mentioned that one approach for implementing this functionality could be to encapsulate this code in Feature receiver. In this post, I will demonstrate and explain this approach for applying custom theme to SPWeb. Our custom theming Feature will

  1. On Feature Activated create and apply new theme to the existing web, while preserving information about current theme
  2. On Feature Deactivating restore preserved information about previous theme and apply it to the target web.

This all seems to be quite straightforward and clear, very similar to this process in previous SharePoint versions. Click To View Entry

1 Comment

  • Can you explain how can i create a Theme Package (master pages, css , js etc) for Sharepoint 2013?
    What i need to do have the Feature option on my custom theme?

Comments have been disabled for this content.