tools/updateCSS.R

library(sass)

src <- rprojroot::find_package_root_file("inst/www/flex_dashboard/flexdashboard.scss")

sass_partial(
  sass_file(src),
  bundle = bslib::bs_theme(version = 3),
  cache = NULL,
  options = sass::sass_options(output_style = "compressed"),
  output = sub("flexdashboard\\.scss$", "flexdashboard.min.css", src)
)

Try the flexdashboard package in your browser

Any scripts or data that you put into this service are public.

flexdashboard documentation built on Aug. 12, 2023, 1:06 a.m.