Dawn theme: Liquid variables preventing Grunt from converting scss to css.liquid file

New Member
2 0 0

So i am using the latest Dawn theme. I use grunt (Sass) to convert my scss files to css.liquid. Below is the rule in grunt for Sass highlighted with red.




However the SCSS file here contains css variables which resolve through liquid variables. These liquid variables are defined in the theme.liquid within the css pseudo :root element.

Below is the SCSS file:



And below is the theme.liquid with the liquid variables:


Problem: The issue is every time the grunt rule for converting this SCSS file to css.liquid is run, it fails since it cannot process the liquid variables present in the theme.liquid.

Is there any way to be able to process these liquid tags using grunt and the SASS. 


Replies 0 (0)