# For example, we use a temporary file
custom <- tempfile(fileext = ".scss")
# this will open a template
# to modify variables of the flatly theme
use_vars_template(
output_file = custom,
theme = "flatly"
)
# after use bs_vars_file() to use the template
# clean up
unlink(custom)
Run the code above in your browser using DataLab