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 trialMartin Gasowski
1,866 PointsTypical workflow with colors
Do you always make an explicit area for colors? So would you create an additional css file for colors in a big project?
2 Answers
Steven Parker
231,269 PointsI might use a separate "colortheme.css" file if I planned to prepare different color themes, to make it easy to replace an entire theme at once. I might also use a separate file if the project already used individual files for different aspects of the overall styles.
Otherwise, I would probably just identify the colors section of the main file with comments.
Martin Gasowski
1,866 PointsThanks guys. The answers are really helpful.
Matt Ramsden
14,152 PointsMatt Ramsden
14,152 PointsI suppose it would depend really on the colour scheme of your website. If it doesn't actually have that many variants of colour then probably not. If it's got loads of colours then maybe, most certainly if the website was based around colour and maybe depending on how many people are going to be accessing it.
Also on advanced and larger projects developers will use things like SASS which will use things like partials for separate css files for things like the base, the images, the typography etc so i'd imagine in some cases colour is one of them.