tickle includes some commands for manipulating the font.
library(tickle)
head(list_font_families(), 50)
ui_spec <- tic_window(
tic_col(
tic_label("Heading here", style = 'h2'),
tic_label("Some other text"),
tic_button("... and a button", style = 'primary')
)
)
win <- render_ui(ui_spec)
Changing the font will have an immediate effect on the current UI.
set_font_family(body = 'Courier', headings = 'Luxi Sans')
set_font_scale(2)