This helper function is to be used with the
function, which itself allows for the setting of custom styles to one or more
cells. We can also define several styles within a single call of
tab_style() will reliably apply those
styles to the targeted element.
cells_styles(bkgd_color = NULL, text_color = NULL, text_font = NULL, text_size = NULL, text_align = NULL, text_style = NULL, text_weight = NULL, text_stretch = NULL, text_indent = NULL, text_decorate = NULL, text_transform = NULL)
the background color of the cell.
the text color.
the font or collection of fonts (subsequent font names are) used as fallbacks.
the size of the font. Can be provided as a number that is
assumed to represent
the text alignment. Can be one of either
the text style. Can be one of either
the weight of the font. Can be a text-based keyword such
allows for text to either be condensed or expanded. We
can use the following text-based keywords to describe the degree of
the indentation of the text.
allows for text decoration effect to be applied. Here,
we can use
allows for the transformation of text. Options are
a character vector containing formatted styles.