Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS Advanced Sass Getting Started Manifests

Richard Nash
Richard Nash
24,862 Points

Do I have to label a manifest file with the word "Manifest"?

I noticed that in the modular Sass course Guil is basically doing the same thing as in this video, but he calls these files "Index" instead of manifest. So is it necessary to call them _manifest.scss? or can I call them _index.scss? Or for that matter _purpleporcupinepricklyprankster.scss or anything else?

2 Answers

I think you would be alright naming them whatever you want as long as you use the same convention in your layout, theme, etc. folders and include those files in a "main" .scss file that will call them and process them.

For example, in the "SMACSS in our Workflow" video at the 1:00 mark files are initially being included as "index" partials in each folder.

Richard Nash
Richard Nash
24,862 Points

Yeah, i've been digging into this around the web and i'm getting a much better handle on the process now. The word "manifest" is used because it is simply an official list of stuff, originally used for the passengers and luggage on a ship. Index or Inventory or Directory or Catalog or any other word could be used, of course, manifest sound cool, i'm guessing. My main concern was that I had to specifically use the word "Manifest" due to the way Sass is built, but this is not the case. The important aspect is knowing how to use the @import command properly. So... I'm good, and thank you for responding :-)

R

Happy to help!