I have three files: a.scss,b.scss,c.scss;
The relationship between these three files:
c @use b as *
b @use a as *
“a.scss” have variable color
Can I reference “color” in a in c.scss
I try to reference the variable “color” in c:
background:$color
, but I get an error:variable undefine
New contributor
yu hao is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.