Skip to contents

Default method for add_style

Usage

# Default S3 method
add_style(spec, id = NULL, ...)

Arguments

spec

Spec object

id

Style identifier

...

Style modifiers

  • Functions created with s_*() helpers (e.g., s_font(), s_paragraph()).

  • These modifiers are evaluated in the add_style() context and merged into the style definition.

Value

Error if no method found