Set compiler options for Sass. Used with sass.

sass_options(precision = 5, output_style = "expanded",
indented_syntax = FALSE, include_path = "",
source_comments = FALSE, indent_type = "space", indent_width = 2,
linefeed = "lf", output_path = "", source_map_file = "",
source_map_root = "", source_map_embed = FALSE,
source_map_contents = FALSE, omit_source_map_url = FALSE)

## Arguments

precision Number of decimal places. Bracketing and formatting style of the CSS output. Possible styles: "nested", "expanded", "compact", and "compressed". Enables the compiler to parse Sass Indented Syntax in strings. Note that the compiler automatically overrides this option to TRUE or FALSE for files with .sass and .scss file extensions respectively. Vector of paths used to resolve @import. Multiple paths are possible using a character vector of paths. Annotates CSS output with line and file comments from Sass file for debugging. Specifies the indent type as "space" or "tab". Number of tabs or spaces used for indentation. Maximum 10. Specifies how new lines should be delimited. Possible values: "lf", "cr", "lfcr", and "crlf". Specifies the location of the output file. Note: this option will not write the file on disk. It is only for internal reference with the source map. Specifies the location for Sass to write the source map. Value will be included as source root in the source map information. Embeds the source map as a data URI. Includes the contents in the source map information. Disable the inclusion of source map information in the output file. Note: must specify output_path when TRUE.

## Value

List of Sass compiler options to be used with sass.

## Examples

sass(
"foo { margin: 122px * .3; }",
options = sass_options(output_style = "compact")
)#> /* CSS */
#> foo { margin: 36.6px; }
#>