SharePoint uses CSS comments to enable theming.
We'd love to minify the CSS but we need the theming-comments.
Maybe it's possible to add a SharePoint-Theming-Switch like you did with "important" comments.
MSDN reference for SharePoint theming:
http://msdn.microsoft.com/en-us/library/office/dn266906.aspx
and two examples for theming comments:
/\* [RecolorImage(themeColor:"BodyText",method:"Filling",includeRectangle:{x:161,y:178,width:16;height:16})] */
/\* [ReplaceFont(themeFont:"body")] */ font-family:"Segoe UI","Segoe",Tahoma,Helvetica,Arial,sans-serif;
Comments: ** Comment from web user: nils_andresen **
We'd love to minify the CSS but we need the theming-comments.
Maybe it's possible to add a SharePoint-Theming-Switch like you did with "important" comments.
MSDN reference for SharePoint theming:
http://msdn.microsoft.com/en-us/library/office/dn266906.aspx
and two examples for theming comments:
/\* [RecolorImage(themeColor:"BodyText",method:"Filling",includeRectangle:{x:161,y:178,width:16;height:16})] */
/\* [ReplaceFont(themeFont:"body")] */ font-family:"Segoe UI","Segoe",Tahoma,Helvetica,Arial,sans-serif;
Comments: ** Comment from web user: nils_andresen **
This is the first idea to go.
However, it breaks the "ValueReplacement"-Test.