<div dir="ltr">Thanks for the clarification. My question is pure Guideline clarification.<br><br>I understand what is best practice. For example. each @import is a HTTP request. Therefore, each import of internal stylesheet will have performance consequence. Am I right?<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 16, 2013 at 5:33 PM, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">And also, just to note: @import or enqueueing an external stylesheet is extremely limited. It should only be used for a trusted, third-party API like Google Fonts.<div>
<br></div><div>Any stylesheets that *can* be bundled with the Theme *should* be, rather than enqueued externally.</div>
<div><br></div><div>But, as Emil said: in this case, whether you @import or enqueue, either should be just fine.</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 16, 2013 at 6:25 PM, Emil Uzelac <span dir="ltr"><<a href="mailto:emil@uzelac.me" target="_blank">emil@uzelac.me</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Maybe this will explain better.<div><br></div><div>Needs to be enqueued:</div><div><br></div><div><link href='<a href="http://fonts.googleapis.com/css?family=Fauna+One" target="_blank">http://fonts.googleapis.com/css?family=Fauna+One</a>' rel='stylesheet' type='text/css'><br>


</div><div><br></div><div>Does not need to be:</div><div><br></div><div>@import url(<a href="http://fonts.googleapis.com/css?family=Fauna+One" target="_blank">http://fonts.googleapis.com/css?family=Fauna+One</a>);<br></div>

<div><br></div>
<div>If handled from style.css</div><div><br></div><div>For the references how to include Google Fonts in i.e. functions.php please see</div><div><a href="http://themes.svn.wordpress.org/babylog/2.1/functions.php" target="_blank">http://themes.svn.wordpress.org/babylog/2.1/functions.php</a><br>


</div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 16, 2013 at 5:16 PM, Emil Uzelac <span dir="ltr"><<a href="mailto:emil@uzelac.me" target="_blank">emil@uzelac.me</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">No sir, it does not need to be.</div><div><div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Tue, Jul 16, 2013 at 5:15 PM, Stephen Cui <span dir="ltr"><<a href="mailto:scui2005@gmail.com" target="_blank">scui2005@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Ok. But google font need to be enqueued?</div><span><font color="#888888"><div><br>
Stephen<div><br></div></div></font></span><div><div><div><br>On Jul 16, 2013, at 5:07 PM, Emil Uzelac <<a href="mailto:emil@uzelac.me" target="_blank">emil@uzelac.me</a>> wrote:<br><br></div><blockquote type="cite">



<div><div dir="ltr">@import's are actually fine, if they're in the style.css no need to enqueue.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 16, 2013 at 5:05 PM, Stephen Cui <span dir="ltr"><<a href="mailto:scui2005@gmail.com" target="_blank">scui2005@gmail.com</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Based on the guidelines:<br><br>Themes are <b>required</b> to enqueue all stylesheets and scripts.<br>




<br></div><div>Example:<br><pre>@import url(<a href="http://fonts.googleapis.com/css?family=Cuprum&subset=latin" target="_blank">http://fonts.googleapis.com/css?family=Cuprum&subset=latin</a>);
@import url(media/css/my/reset.css);
@import url(media/css/settings.css);
@import url(media/css/widget.css);
@import url(media/css/comment.css);
<br></pre><pre>I believe the example here is against the guideline. Correct me if I am wrong.<br><br></pre><pre>Regards<span><font color="#888888"><br><br>Stephen<br></font></span></pre></div><div><br></div>
</div>
<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>
<br></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>theme-reviewers mailing list</span><br><span><a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a></span><br>



<span><a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a></span><br></div></blockquote></div></div></div><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>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><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>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">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>
<br></blockquote></div><br></div>