sass_import

0th

Percentile

Sass Import

Create an import statement to be used within your Sass file. See https://sass-lang.com/documentation/file.SASS_REFERENCE.html#import for more details.

Usage
sass_import(input, quote = TRUE)

sass_file(input)

Arguments
input

Character string to be placed in an import statement.

quote

Logical that determines if a double quote is added to the import value. Defaults to TRUE.

Details

sass_file adds extra checks to make sure an appropriate file path exists given the input value.

Value

Fully defined Sass import string.

Aliases
  • sass_import
  • sass_file
Examples
# NOT RUN {
sass_import("foo")
sass_import("$foo", FALSE)
# }
# NOT RUN {
sass_file("foo.scss")
# }
Documentation reproduced from package sass, version 0.1.1, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.