default_theme {asciicast}R 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)



[Package asciicast version 1.0.0 Index]