I'm trying to separate my CSS files by moving variables + mix-ins to a new CSS file. I'm also using MVC 4 site hosted in Azure if that is an issue.
At the very top of my CSS file that uses the mix-ins, I have:
@import "theme.less.css";
However, it doesn't load it. The error I get is:
variable @defaultColour is undefined on line 166 in file 'styles.less.css'
It is clear that theme.less.css
is not being referenced. The documentation for dotless does not mentions the @import
statement.