I'm trying to use the OOTB SharePoint Theme Engine in SharePoint 2013, but no matter what I do, my custom themable css files just don't seem to work.
I deploy my css through a feature. As far as I know and read in blogs, the safest way to make it work is by adding the CSS to the Themable folder in a certain language folder in the Style Library. But this doens't work for me and I'm 100% sure it is the correct language folder I put it in.
[CSS]
.ms-webpart-chrome-title {
/* [ReplaceColor(themeColor:"SuiteBarBackground")] */ background-color: transparent;
}
[XML]
<Module Name="Themable" Path="Themes" RootWebOnly="TRUE" Url="Style Library/en-us/Themable">
<File Url="devtheme.css" IgnoreIfAlreadyExists="TRUE" Type="GhostableInLibrary" />
</Module>
Reference in MasterPage
<SharePoint:CssRegistration Name="<% $SPUrl:~SiteCollection/Style Library/~language/Themable/devtheme.css %>" After="corev15.css" runat="server" />
The CSS file is found and read by the engine, but the replacement doesn't happen. What do I do wrong?
<link>
instead of<SharePoint:CssRegistration>
to see if that changes the behavior?