[theme-reviewers] Importing CSS within style.css

Chip Bennett chip at chipbennett.net
Tue Dec 18 13:22:38 UTC 2012


There is nothing inherently wrong with using @import, as far as I know.

The only caveat is that, aside from API calls such as Google Fonts, all
stylesheets should be bundled with the Theme, rather than called externally.


On Tue, Dec 18, 2012 at 4:43 AM, Paul Appleyard <paul at spacecat.com> wrote:

>  Hi all,
>
> I'm returning to reviewing after a bit of a hiatus, and am perhaps a
> little rusty on the finer points, but brushing up via the excellent
> reviewing guides :)
>
> I'm reviewing this theme <http://themes.trac.wordpress.org/ticket/10090>and marking him down for not enqueueing the Google font CSS stylesheet
> properly - but then I see he's also importing it at the top of style.css.
>
> Is it acceptable to load CSS in via @import in style.css? Or must it be
> hooked 'n' queued like everything else?
>
> Thanks!
>
> Paul Appleyard
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20121218/84c3686c/attachment.htm>


More information about the theme-reviewers mailing list