SOLVED: Using CSS Variables in another CSS file?


#1

Is there no way to import CSS variables (colors for example) stored in a global file, into another CSS file so I don't need to set my variables at the beginning of every new CSS file I create?

EDIT:

Solved by simply changing {% include "/stylesheet.css" %} to {% import "/stylesheet.css" %}

Wish this was obvious in the docs somewhere. I think this is a very normal use case when coming from a build system like Gulp, Grunt, etc. and Sass.