/
View dependency graph
Depends on
- build-essential (build-essential)
- dh-exec (dh-exec)
- dh-r (dh-r)
- r-cran-fs (r-cran-fs)
- r-cran-htmltools (r-cran-htmltools)
- r-cran-r6 (r-cran-r6)
- r-cran-rappdirs (r-cran-rappdirs)
- r-cran-rlang (r-cran-rlang)
- architecture-is-64-bit, architecture-is-little-endian, debhelper-compat, r-base-dev
Used by
README (full)
sass 
The sass R package provides bindings to
LibSass, a fast
Sass compiler written in C++. Sass is a mature
and stable CSS extension language that makes styling modern websites
less complex and more composable.
Installation
Install the released version of sass from CRAN:
install.packages("sass")
Install the latest development build from GitHub:
# install.packages("remotes")
remotes::install_github("rstudio/sass")
Basic usage
To compile Sass into CSS, provide Sass to the input argument of the
sass() function. input can be any of the following:
- An R string (as in the example below).
- A named
list()defining Sass variables. - A
sass_file(),sass_import(), orsass_layer(). - A nested
list()comprising of all the above.
library(sass)
sass(input = "
$size: 50%;
foo { margin: $size * .33; }
")
Learn more
See sass’s overview vignette as well as the official Sass documentation.
Ask a question
If you have a question about sass, try asking one on https://forum.posit.co:
| dir | R/ |
| dir | build/ |
| dir | debian/ |
| dir | inst/ |
| dir | man/ |
| dir | src/ |
| dir | tests/ |
| dir | vignettes/ |
| file | DESCRIPTION |
| file | LICENSE |
| file | MD5 |
| file | NAMESPACE |
| file | NEWS.md |
| file | README.md |