font | R Documentation |
The font()
utility modifies the color, size, weight, case, or alignment of
a tag element's text. All arguments default to NULL
, in which case they are
ignored. For example, font(.., size = "lg")
increases font size without
affecting color, weight, case, or alignment.
font(x, color = NULL, size = NULL, weight = NULL, case = NULL, align = NULL)
x |
A tag element or .style pronoun. |
color |
One of |
size |
Deprecated, in future versions of bootstrap resonsive font sizing will be enabled by default, https://github.com/twbs/bootstrap/pull/29152. One of |
weight |
One of |
case |
One of |
align |
A responsive argument. One of |
div() %>% font("primary")
# ->
div() %>% cascadess::font_color("primary")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.