This helper function is to be used with the
tab_style() 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
This function is now soft-deprecated, which means it will soon be removed.
Please consider using the
cell_text() (contains all other arguments here without the leading