Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 4 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Commits on Feb 13, 2011
@d2s d2s Added .scss to list of extensions to enable it 38b28aa
Commits on Jul 07, 2011
@d2s d2s Whitespace cleanup 69c562e
Commits on Jul 12, 2011
@d2s d2s Small correction to readme (thanks to acolite246) 3faddaa
Commits on Oct 30, 2011
@d2s d2s Update README with install info for Espresso 2
Basically same as original:
026a153

Manual merge since it didn't apply cleanly via GitHub's interface.
5f39321
Showing with 27 additions and 5 deletions.
  1. +1 −0  Languages.xml
  2. +26 −5 readme.markdown
View
1  Languages.xml
@@ -9,6 +9,7 @@
<name>SASS</name>
<detectors>
<extension>sass</extension>
+ <extension>scss</extension>
</detectors>
<default-extension>sass</default-extension>
View
31 readme.markdown
@@ -2,14 +2,35 @@
To install the sugar just open terminal and type:
- cd ~/Library/Application Support/Espresso/Sugars
+ cd ~/Library/Application\ Support/Espresso/Sugars
git clone git://github.com/hawx/Sass.sugar.git
-
+
## SASS Settings
-To use the sass convert features you don't need to do anything different, but I guess most people are like me and have a folder for sass files and another for css. To make the sass go into your css folder you will need to change the preferences.
+To use the sass convert features you don't need to do anything different, but I guess most people are like me and have a
+folder for sass files and another for css. To make the sass go into your css folder you will need to change the
+preferences.
+
+### For Espresso 1
+
+Open Espresso's preferences and navigate to Advanced. Then in the table called 'Custom shell variables', add an entry
+with name `SASS_DIRECTORY`, and set the value to the name of the folder you usually use for .sass files (eg. I set
+it to `_sass`). Then add another called `CSS_DIRECTORY` and set the value to the folder you usually use for css
+files (eg. `css`).
+
+__NOTE__: You cannot set per-project settings for this.
+
+### For Espresso 2
+
+There are two options for this:
+
+1. Open `Sass.sugar/Support/create_css.rb` and change the variables being set on lines 9 and 10 to something like:
+
+ sass = '_sass'
+ css = 'css'
-Open Espresso's preferences and navigate to Advanced. Then in the table called 'Custom shell variables', add an entry with name `SASS_DIRECTORY`, and set the value to the name of the folder you usually use for .sass files (eg. I set it to `_sass`). Then add another called `CSS_DIRECTORY` and set the value to the folder you usually use for css files (eg. `css`).
+2. Or set the variables in your `.bashrc` or `.zshrc` by adding:
-__NOTE__: You cannot set per-project settings for this.
+ export SASS_DIRECTORY="_sass"
+ export CSS_DIRECTORY="css"

No commit comments for this range

Something went wrong with that request. Please try again.