Skip to contents

Remove a style

Usage

drop_style(style)

Arguments

style

The name of the style to remove. No error is given for non-existing names.

Value

Nothing.

See also

Other styles: make_style()

Examples

make_style(new_style = "maroon", bg = TRUE)
#> Crayon style function, new_style: example output.
cat(style("I am maroon", "new_style"), "\n")
#> I am maroon 
drop_style("new_style")
"new_style" %in% names(styles())
#> [1] FALSE