mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-03-04 10:20:22 +00:00
36 lines
1.2 KiB
Markdown
36 lines
1.2 KiB
Markdown
---
|
|
title: sass
|
|
homepage: https://github.com/sass/dart-sass
|
|
tagline: |
|
|
sass: The reference implementation of Sass, written in Dart. Sass makes CSS fun again.
|
|
---
|
|
|
|
To update or switch versions, run `webi sass@stable` (or `@v2`, `@beta`, etc).
|
|
|
|
## Cheat Sheet
|
|
|
|
> Dart Sass has replaced Ruby Sass as the canonical implementation of the Sass
|
|
> language.
|
|
|
|
### Command format:
|
|
|
|
```bash
|
|
sass <input.scss> [output.css]
|
|
```
|
|
|
|
or
|
|
|
|
```bash
|
|
sass <input.scss>:<output.css> <input/>:<output/> <dir/>
|
|
```
|
|
|
|
| Input and Output | Functionality |
|
|
| ---------------- | --------------------------------------------------------- |
|
|
| --[no-]stdin | Read the stylesheet from stdin. |
|
|
| --[no-]indented | Use the indented syntax for input from stdin. |
|
|
| -I, --load-path= | A path to use when resolving imports. |
|
|
| -s, --style= | Output style. |
|
|
| --[no-]charset | Emit a @charset or BOM for CSS with non-ASCII characters. |
|
|
| --[no-]error-css | When an error occurs, emit a stylesheet describing it. |
|
|
| --update | Only compile out-of-date stylesheets. |
|