You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zola seems to have a problem with compiling SASS. More specifically it can't refer to variable defined in another SASS module.
When I try to do that I get the following error message and building of the site fails:
Error: Error: Invalid CSS after "...r: gruvbox-dark": expected expression (e.g. 1px, bold), was ".$background;"
on line 3:33 of sass/style.scss
>> $background-colour: gruvbox-dark.$background;
--------------------------------^
Zola version: 0.15.3
Step to reproduce
Here is my code.
File sass/_gruvbox-dark.scss:
$background: #282828;
File sass/style.scss:
@use 'gruvbox-dark';
$background-colour: gruvbox-dark.$background;
body {
background-color: $background-colour;
}
The text was updated successfully, but these errors were encountered:
Bug Report
Zola seems to have a problem with compiling SASS. More specifically it can't refer to variable defined in another SASS module.
When I try to do that I get the following error message and building of the site fails:
Zola version: 0.15.3
Step to reproduce
Here is my code.
File
sass/_gruvbox-dark.scss
:File
sass/style.scss
:The text was updated successfully, but these errors were encountered: