Greetings!
I'm setting up custom theme. I'm following my usual method, which is to start with the Basic template and start altering from there.
Since I want to control the variables, I copied the entirety of the liquid_variables from the default, put it in my theme.scss file, and deleted the first line of theme.scss which is this:
@import "liquid_variables";
Then I saved and I got this error:
To be clear: I haven't written any code myself yet, this is from me taking the code from the liquid_variables default file and inserting it into the theme.scss file, which I thought I was allowed to do.
What am I missing? How do I do this the right way?
Thanks!
Tim, It is best for you to add back the @import "liquid_variables" which are the existing variables, redefine the ones you want to change and/or create new ones in the current stylesheet. You can learn more about Sass and read through a tutorial here.
Showing 3 reactions
Sign in with
Tim Wayne
Certified Architect
Certified Expert
Thanks!
Tim Wayne
Certified Architect
Certified Expert
Tim Wayne
Certified Architect
Certified Expert