tbtimes / ledeTwo

A sweet tool to make cool web things ~~ motto pending
MIT License
2 stars 0 forks source link

Sass paths not relative #2

Open catlips opened 8 years ago

catlips commented 8 years ago

Sass @import links are not relative, they're from the project root. Thus, in project test, I have to use paths like @import "test/bootstrap"; and "@import "test/bootstrap/responsive-utilities";.

catlips commented 8 years ago

This also means that to change the project name one will need to grep all those references.

catlips commented 8 years ago

In reality, they're not even from the root, as the path then would be "test/styles/bootstrap/responsive-utilities". So I'm confused.

ejmurra commented 8 years ago

Sass paths are not intended to be relative. @import let's you pull in content from the styles directory of any project namespaced under the project name. So if there was core/styles/colorvars.scss you could reference it from any project with @import "core/colorvars;