Bulma Typography Helper Classes

bulma_typography(size = NULL, color = NULL, responsive_size = NULL,
  alignment = NULL, responsive_alignment = NULL,
  transformation = NULL, weight = NULL, font_family = NULL)

Arguments

size

One of 1 through 7 (large to small)

responsive_size

See bulma_responsive_size().

alignment

One of "centered", "justified", "left", "right"

transformation

One (or more) of "capitalized", "lowercase", "uppercase", "italic"

weight

One of "light", "normal", "semibold", "bold"

font_family

One of "sans-serif", "monospace", "primary", "secondary", "code". (Coming in version 0.7.3.)

text

One of "white", "black", "light", "dark", "primary", "info", "link", "success", "warning", "danger", "black-bis", "black-ter", "grey-darker", "grey-dark", "grey", "grey-light", "grey-lighter", "white-ter", "white-bis"

Value

String of modifer classes

References

https://bulma.io/documentation/modifiers/typography-helpers/

Examples

bulma_color("white", "black")
#> [1] "has-text-white has-background-black"
bulma_color("white", "primary")
#> [1] "has-text-white has-background-primary"