At first, I have written all css styles in one file but things get complicated so I have divided my sass files to folders. I found an article from internet and I followed it. It says "if we put _ in front of sass file, it will not indexed by compiler"
- Created 3 folders
- Created files _test_name.scss like that
- Created _index.scss file for every folder and import all other scss files in that folder
- Created main.scss file and import all index.scss files in it.
Everything is working fine but if I use color variable in somewhere in other folder it didn't wok. It gave me undefined variable error message. After that I imported colors scss file then it worked. But that's strange right? It should work without importing colors scss file. Now the thing is if I see my styles in developer tools, the same style repeating three times! Please check image
Am I did something wrong here?
