Theme builder

Description

A page for building a theme: an input per token, a light and dark pair, a style pack to start from, and the CSS to download.

Usage

bc_theme_builder(
  style = NULL,
  back = "https://github.com/ricochet-rs/basecoat",
  file = tempfile("basecoat-theme-", fileext = ".html"),
  browse = interactive()
)

Arguments

Argument Description
style String or NULL. The pack selected when the page opens.
back String. Where the sidebar's link out points.
file String. Where to write the page.
browse Bool. Open it when it is written.

Value

The path, invisibly.

See Also

bc_theme()

Examples

bc_theme_builder(browse = FALSE, file = tempfile(fileext = ".html"))