Description Usage Arguments Value Examples
Search variables in a .scss file
1 |
file |
File path in which to search for variables. |
A data.frame
with 2 columns: "variable"
and "value"
.
1 2 3 4 5 6 7 8 9 10 | # Create a scss file with some variables
tmp_scss_file <- tempfile(fileext = ".scss")
writeLines("//Some variables\n $color: red;\n $body-bg: #FFF;", tmp_scss_file)
# Search for variables
search_vars(tmp_scss_file)
# Clean up
unlink(tmp_scss_file)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.