Description Usage Arguments Value Examples
View source: R/use_vars_template.R
SCSS variables from a file
1 | vars_file(input_file)
|
input_file |
Path to SCSS file containing variables to use for creating a theme. |
a list
that can be used in create_theme
.
1 2 3 4 5 6 7 8 9 10 11 12 | # Open template and edit variables
use_vars_template(
output_file = "custom.scss",
theme = "flatly"
)
# Create new theme based on the modified template
create_theme(
theme = "flatly",
vars_file(input_file = "custom.scss"),
output_file = "mytheme.css"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.