create sass.md

initial
client-spec/clarity
Michal 2020-04-15 18:14:07 +02:00 committed by Starbeamrainbowlabs
parent 5c29478685
commit 1016732868
1 changed files with 20 additions and 0 deletions

20
pages.pl/common/sass.md Normal file
View File

@ -0,0 +1,20 @@
# sass
> Converts SCSS or Sass files to CSS.
> More information: <https://sass-lang.com/documentation/cli/dart-sass>.
- Convert a SCSS or Sass file to CSS and print out the result:
`sass {{inputfile.scss|inputfile.sass}}`
- Convert a SCSS or Sass file to CSS and save the result to a file:
`sass {{inputfile.scss|inputfile.sass}} {{outputfile.css}}`
- Watch a SCSS or Sass file for changes and output or update the CSS file with same filename:
`sass --watch {{inputfile.scss|inputfile.sass}}`
- Watch a SCSS or Sass file for changes and output or update the CSS file with the given filename:
`sass --watch {{inputfile.scss|inputfile.sass}}:{{outputfile.css}}`