While working on my project, I encountered an issue with compiling scss files into css using compass. The error message I received is as follows:
Error in sass-test/sass/nr-metronic.scss (Line 4 of sass-test/sass/metronic/global/_colors.scss: Invalid CSS after " white": expected ")", was ": (base:#ffffff...")
This is the content of my _colors.scss file:
//Component colors
$component-colors: (
white:(base:#ffffff, font: #666),
default:(base:#e1e5ec, font: #666),
dark:(base:#2f353b, font: #FFFFFF),
blue:(base:#3598dc, font: #FFFFFF),
blue-madison:(base:#578ebe, font: #FFFFFF),
blue-chambray:(base:#2C3E50, font: #FFFFFF),
blue-ebonyclay:(base:#22313F, font: #FFFFFF),
blue-hoki:(base:#67809F, font: #FFFFFF),
blue-steel:(base:#4B77BE, font: #FFFFFF),
blue-soft:(base:#4c87b9, font: #FFFFFF)
);
I have also imported "_colors.scss" in a separate file like this
@import "colors";
Despite reviewing my code multiple times, I am still unable to pinpoint the cause of this error.