Open a SCSS template to modify variables, after use bs_vars_file to import those variables and create a theme.
use_vars_template(
output_file,
theme = c("default", "cerulean", "cosmo", "cyborg", "darkly", "flatly", "journal",
"lumen", "paper", "readable", "sandstone", "simplex", "slate", "spacelab",
"superhero", "united", "yeti"),
open = interactive()
)
Path where to create the template, use ".scss"
as file extension.
Base theme to use, e.g. "cosmo"
to start modifying the cosmo theme.
Open the newly created file for editing? Happens in RStudio,
if applicable, or via utils::file.edit()
otherwise.
After use bs_vars_file
to use the template.