Personally, at this time, if you're going to eliminate whitespace (i.e. "minify"), then I wouldn't even bother adding a redundant CSS file. <div><br></div><div>Bear in mind that the CSS Coding Standards found in the Codex apply to core code, and at least at this time (and for the foreseeable future, given that the Theme Review Team has never even brought up the matter) the core CSS Coding Standards are not part of the Theme Review guidelines. (The same holds true for the WordPress core PHP Coding Standards.</div>
<div><br></div><div>Chip<br><br><div class="gmail_quote">On Fri, Feb 18, 2011 at 7:08 AM, Syahir Hakim <span dir="ltr"><<a href="mailto:khairulsyahir@gmail.com">khairulsyahir@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi everyone,<br>
<br>
Recently I just edited my theme's CSS to conform to the CSS Coding Standard as outlined here: <a href="http://codex.wordpress.org/CSS_Coding_Standards" target="_blank">http://codex.wordpress.org/CSS_Coding_Standards</a><br>
(I know that it's still a draft, but the CSS coding standard outlined is good to follow nonetheless).<br>
<br>
However, the problem is that the standard, while can be immensely helpful to the theme's users and other developers, also introduces a lot of code bloating (think of all those extra spaces and tabs and newlines). So I was wondering if we can include two copies of theme's CSS: one which is not used by the theme, but human-readable, and another that's minified and is actually used by the theme. The human-readable one can probably be renamed to style.full.css for example, while the minified version takes on the standard naming convention for WordPress themes' CSS files.<br>
<br>
Thoughts?<br>
<br>
-- <br>
Regards,<br>
Syahir Hakim<br>
<br>
Contact:<br>
<a href="http://www.khairul-syahir.com" target="_blank">http://www.khairul-syahir.com</a><br>
+6014 753 1883<br>
<br>
_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
</blockquote></div><br></div>