From 99ad79e207f6508e05cbc496788fdbb6bf62c0d2 Mon Sep 17 00:00:00 2001 From: Aarin Smith Date: Mon, 4 Jan 2016 10:29:19 -0800 Subject: [PATCH 1/5] Added page for Sass --- pages/common/sass.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pages/common/sass.md diff --git a/pages/common/sass.md b/pages/common/sass.md new file mode 100644 index 000000000..71e49b95b --- /dev/null +++ b/pages/common/sass.md @@ -0,0 +1,12 @@ +# Sass + +> Converts SCSS or Sass files to CSS +> .scss and .sass can be used interchangeably in below examples depending on your preferred syntax + +- Immediately one time convert SCSS or Sass file to CSS + +`sass {{inputfile}}.scss:{{outputfile}}.css` + +- Watch SCSS or Sass file for changes and update CSS file + +`sass --watch {{inputfile}}.scss:{{outputfile}}.css` \ No newline at end of file From b8b02811d625a20954d12b9441f784047c74d2b2 Mon Sep 17 00:00:00 2001 From: Aarin Smith Date: Mon, 4 Jan 2016 10:33:52 -0800 Subject: [PATCH 2/5] Add sass page --- pages/common/sass.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/sass.md b/pages/common/sass.md index 71e49b95b..4025dc886 100644 --- a/pages/common/sass.md +++ b/pages/common/sass.md @@ -1,7 +1,7 @@ # Sass > Converts SCSS or Sass files to CSS -> .scss and .sass can be used interchangeably in below examples depending on your preferred syntax +> .scss and .sass can be used interchangeably in below examples depending on your preference - Immediately one time convert SCSS or Sass file to CSS @@ -9,4 +9,4 @@ - Watch SCSS or Sass file for changes and update CSS file -`sass --watch {{inputfile}}.scss:{{outputfile}}.css` \ No newline at end of file +`sass --watch {{inputfile}}.scss:{{outputfile}}.css` From 0b1f296b875d4ae709cbbe61340953f0d973e4e6 Mon Sep 17 00:00:00 2001 From: Aarin Smith Date: Mon, 4 Jan 2016 12:21:59 -0800 Subject: [PATCH 3/5] Updated sass to documented syntax. Added commands for non-specified naming Signed-off-by: Aarin Smith --- pages/common/sass.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/pages/common/sass.md b/pages/common/sass.md index 4025dc886..a4d349b32 100644 --- a/pages/common/sass.md +++ b/pages/common/sass.md @@ -3,10 +3,18 @@ > Converts SCSS or Sass files to CSS > .scss and .sass can be used interchangeably in below examples depending on your preference -- Immediately one time convert SCSS or Sass file to CSS +- Immediately convert scss file and output css with same filename -`sass {{inputfile}}.scss:{{outputfile}}.css` +`sass {{inputfile}}.scss` -- Watch SCSS or Sass file for changes and update CSS file +- Immediately convert SCSS or Sass file to CSS to specified output file -`sass --watch {{inputfile}}.scss:{{outputfile}}.css` +`sass {{inputfile}}.scss {{outputfile}}.css` + +- Watch SCSS or Sass file for changes and output or update CSS file with same filename + +`sass --watch {{inputfile}}.scss` + +- Watch SCSS or Sass file for changes and output or update CSS file with specified filename + +`sass --watch {{inputfile}}.scss:{{outputfile}}.css` \ No newline at end of file From 71bf38c94e69a8979f3a0f6c83b1fb4bcc92a7d2 Mon Sep 17 00:00:00 2001 From: Aarin Smith Date: Tue, 5 Jan 2016 09:49:09 -0800 Subject: [PATCH 4/5] Updated sass scss file extensions. Corrected description for sass command with no output file. --- pages/common/sass.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/common/sass.md b/pages/common/sass.md index a4d349b32..cd6454fef 100644 --- a/pages/common/sass.md +++ b/pages/common/sass.md @@ -3,18 +3,18 @@ > Converts SCSS or Sass files to CSS > .scss and .sass can be used interchangeably in below examples depending on your preference -- Immediately convert scss file and output css with same filename +- Output converted file to stdout -`sass {{inputfile}}.scss` +`sass {{inputfile.(scss|sass)}}` - Immediately convert SCSS or Sass file to CSS to specified output file -`sass {{inputfile}}.scss {{outputfile}}.css` +`sass {{inputfile.(scss|sass)}} {{outputfile.css}}` - Watch SCSS or Sass file for changes and output or update CSS file with same filename -`sass --watch {{inputfile}}.scss` +`sass --watch {{inputfile.(scss|sass)}}` - Watch SCSS or Sass file for changes and output or update CSS file with specified filename -`sass --watch {{inputfile}}.scss:{{outputfile}}.css` \ No newline at end of file +`sass --watch {{inputfile.(scss|sass)}}:{{outputfile.css}}` \ No newline at end of file From b1a3ac963157adf911a8c592e83a0c5506f92e34 Mon Sep 17 00:00:00 2001 From: Aarin Smith Date: Tue, 5 Jan 2016 11:16:13 -0800 Subject: [PATCH 5/5] Removed unnecessary sass vs scss line in overall description. --- pages/common/sass.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/common/sass.md b/pages/common/sass.md index cd6454fef..9a990e8fb 100644 --- a/pages/common/sass.md +++ b/pages/common/sass.md @@ -1,7 +1,6 @@ # Sass > Converts SCSS or Sass files to CSS -> .scss and .sass can be used interchangeably in below examples depending on your preference - Output converted file to stdout @@ -17,4 +16,4 @@ - Watch SCSS or Sass file for changes and output or update CSS file with specified filename -`sass --watch {{inputfile.(scss|sass)}}:{{outputfile.css}}` \ No newline at end of file +`sass --watch {{inputfile.(scss|sass)}}:{{outputfile.css}}`