Skip to contents

Opens an HTML preview in the RStudio viewer (or browser) showing the family icon on a flat navbar with its accent rule, the light and dark surfaces, the identity colours and the Okabe-Ito palette.

Usage

reflow_preview(scheme = "brand")

Arguments

scheme

Character. A v5 family key (e.g., "clinical") or an earlier scheme name, see reflow_scheme().

Value

Invisibly returns the scheme list.

Examples

if (interactive()) {
  reflow_preview("clinical")
  reflow_preview("brand")
}