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

Guil Hernandez
STAFF
Guil Hernandez
Treehouse Teacher

Workspaces now supports Sass!

Hey everyone,

Good news. Workspaces now has support for Sass! To create a Sass Workspace, select "Sass" as the environment option and you're all set.

Workspaces - Sass Environment

In the Workspace console, you're able to use common Sass commands for watch, help, etc. Try it out on our brand new course: Modular CSS with Sass. :)

Edit: James Barnett has created a step-by-step guide to using Sass with Workspaces. Thanks James!

6 Answers

Logan R
Logan R
22,989 Points

Sweet! I might actually check out the Sass courses now :) Should be very cool, keep up the good work guys :D

Tommy Gebru
Tommy Gebru
30,164 Points

This is great news, I started Sass Basics yesterday, workspaces will provide a smoother approach to working with Sass and Compass!

Guil Hernandez
STAFF
Guil Hernandez
Treehouse Teacher

Hi Richard Nash.

Yep, Workspaces supports the latest version of Compass. Write compass -v in the console to check it out.

Richard Nash
Richard Nash
24,862 Points

Hi Guil,

Thanks for this. I'm going through the sass courses but I have not found where console sass commands are explained. Could you point me to that?

And maybe you could do a short blog post or video explaining the basic sass workflow in workspaces for the treehouse community.

And thank you for your work :-)

R

James Barnett
James Barnett
39,199 Points

I'm not sure I understand what you are looking for here. My understanding is that the console in the Sass Workspaces is a standard Linux console.

So first I'd check out the Installing and Using Sass video and then if you are new to the terminal check out Getting Started with the Console badge.

Richard Nash
Richard Nash
24,862 Points

ok, so to use sass in workspaces i have to make a file and label it app.scss, then i need to go into the console and type sass --watch, or something like that? And then the css file that I would need to actually make a webpage exist is then compiled from the app.scss file? or do i need to make a file called app.css and then connect them somehow? This part is a little confusing, as it is not explicitly gone through in either the Sass basics or Modular Sass courses... it's just kinda exists already... I have not gone through all of the advanced Sass course yet, and they first part was helping me out a little bit with understanding manifests and globbing, which I believe is part of the bigger question that I am asking.

So, it's just the whole process of creating a new Sass project in workspaces and all of the little nitty gritty workflow steps that I'm still a little foggy about. This includes BEM and SMACSS and minifests and globbing and Sass Watch and how they all work together. It's sort of sprinkled across a few different courses in a few different places, as far as I can tell at this point.

I hope that wasn't too confusing, as I'm a little confused myself as to what I'm asking for, exactly :-) And I'm also trying to use workspaces to make a full on website, so i'm seeing if it can replace Sublime or Coda or Espresso, etc...

R

James Barnett
James Barnett
39,199 Points

Richard Nash -

I hope that wasn't too confusing, as I'm a little confused myself as to what I'm asking for, exactly :-)

I'm not exactly sure what you are looking for, but I'll give it a shot.

To help you (and others in the future out) I made a new forum post with step-by-step instructions that should hopefully get you pointed in the right direction.

https://teamtreehouse.com/forum/using-sass-with-workspaces-a-stepbystep-guide

Richard Nash
Richard Nash
24,862 Points

Quick Question: Do Sass workspaces support Compass?

Thanks :-)