The text_weight()
function adjusts the font weight of a tag element.
Arguments
- x
A tag element or .style pronoun.
- weight
A character string specifying the font weight. One of,
"bold"
"bolder"
"semibold"
"medium"
"normal"
"light"
"lighter"
"bolder"
and"lighter"
change the font weight relative to the current font weight.
See also
Other text utilities:
text_alignment()
,
text_break()
,
text_color()
,
text_decoration()
,
text_height()
,
text_selection()
,
text_style()
,
text_transform()
,
text_wrap()