According to the SASS documentation, when importing partials you should only list the name of the file, without the leading underscore or file extension. So, for instance, @import "_variables.scss"; should be @import "variables";.

CommentFileSizeAuthor
#1 scss-import-syntax-1447562-1.patch1.03 KBjstoller

Comments

jstoller’s picture

Status: Active » Needs review
StatusFileSize
new1.03 KB

This patch updates the @import syntax on all SASS files. It also imports _mixins.scss everywhere that _variables.scss is imported, which seems consistent with the purpose of these files.

danlinn’s picture

Thanks! There's another post that did a lot of SASS clean up. When I get some time, I'll incorporate it and put out another release.

jstoller’s picture

Status: Needs review » Closed (duplicate)

@danlinn
That other issue is mine too. :-)

I'm marking this a duplicate of #1455566: Clean and refactor Boilerplate Sass, pending your review. If that patch gets committed, this one is irrelevant.