Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

21st Century Skills

Angel Franco
.a{fill-rule:evenodd;}techdegree seal-36
Angel Franco
Front End Web Development Techdegree Graduate 15,219 Points

I'm having trouble making my sass variables work in other partials

Im on project 4 on tech-degree course and I made a 'variables' partial and made 5 color variables, but when I try using the variables in other partials it doesn't work. I don't understand what im suppose to do to use variables that were defined in other partials.

2 Answers

Hi Angel Franco !

How and where are you importing your variables. Are you using @import or @use/@forward?

Are you able to provide a link to the most current repo from Github?

Awesome! You're welcome!

Yes, Angel Franco, if in doubt with SASS check the order and existence of the partials. 😁