Theme Builder

Description

Create an HTML page where you build a light and dark theme and download it as CSS.

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 style to start from, "ricochet" or one of bc_styles. NULL uses "ricochet".
back String or NULL. URL for the back link in the sidebar. NULL hides it.
file String. Path of the HTML file to write. Defaults to a temporary file.
browse Bool. Whether to open the page in a browser. Defaults to interactive().

Value

The path, invisibly.

See Also

bc_theme()

Examples

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