I’m trying to use SCSS/SASS with Jekyll but I’m getting this error when using a variable:
Jekyll::Converters::Scss encountered an error while converting 'css/styles.scss':
Invalid CSS after " color: ": expected expression (e.g. 1px, bold), was "$some-color;"
In css/styles.scss
:
---
---
@import 'index.css';
In _sass/_vars.scss
:
$some-color: #4d4d4d;
In _sass/index.scss
:
@import '_vars.scss';
body {
color: $some-color;
}
What am I missing?