default_theme: The default asciicast theme

View source: R/svg.R

default_themeR Documentation

The default asciicast theme

Description

Currently only used for write_svg()

Usage

default_theme()

Value

A named list.

See Also

Other SVG functions: play(), write_svg()

Examples


cast <- read_cast(system.file("examples", "hello.cast", package = "asciicast"))
svg_file <- tempfile(fileext = ".svg")
mytheme <- modifyList(default_theme(), list(cursor = c(255, 0, 0)))
write_svg(cast, svg_file, theme = mytheme)



asciicast documentation built on May 29, 2024, 6:24 a.m.