- Notifications
You must be signed in to change notification settings - Fork18
Sass compiler package for R
License
Unknown, MIT licenses found
Licenses found
rstudio/sass
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Thesass R package provides bindings toLibSass, a fastSass compiler written in C++. Sass is a matureand stable CSS extension language that makes styling modern websitesless complex and more composable.
Install the released version ofsass from CRAN:
install.packages("sass")Install the latest development build from GitHub:
# install.packages("remotes")remotes::install_github("rstudio/sass")
To compile Sass into CSS, provide Sass to theinput argument of thesass() function.input can be any of the following:
- An R string (as in the example below).
- A named
list()definingSassvariables. - 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; }")
Seesass’soverviewvignette as well asthe officialSass documentation.
If you have a question aboutsass, try asking one onhttps://forum.posit.co:
About
Sass compiler package for R
Resources
License
Unknown, MIT licenses found
Licenses found
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors15
Uh oh!
There was an error while loading.Please reload this page.