Generate style from css template

style_from_css_tpl(file, ...)

Arguments

file

path to a css file

...

mutiple named arguments with the value to replaces

Examples

if (FALSE){
  # replaces "var(--tpl-background)" to "red"
  style_from_css_tpl("styles.css", background = "red")
}