bulma_color: Bulma Color Helpers

Description Usage Arguments Functions See Also

View source: R/bulma-color.R

Description

Bulma provides utilities to change the color of particular elements according to the predefined Sass variables in bulma_assets().

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
bulma_color(
  tag,
  color = c("primary", "link", "info", "success", "warning", "danger", "white",
    "black", "light", "dark", "ghost", "text", "black-bis", "black-ter", "grey-darker",
    "grey-dark", "grey-light", "grey-lighter", "white-ter", "white-bis")
)

bulma_text_color(
  tag,
  color = c("primary", "link", "info", "success", "warning", "danger", "white",
    "black", "light", "dark", "black-bis", "black-ter", "grey-darker", "grey-dark",
    "grey-light", "grey-lighter", "white-ter", "white-bis"),
  shade = c("dark", "light")
)

bulma_background_color(
  tag,
  color = c("primary", "link", "info", "success", "warning", "danger", "white",
    "black", "light", "dark", "black-bis", "black-ter", "grey-darker", "grey-dark",
    "grey-light", "grey-lighter", "white-ter", "white-bis"),
  shade = c("dark", "light")
)

Arguments

tag

(tag) tag to be modified

Color Helpers

color

the color class. ghost and text only apply to bulma_button()s

shade

(str) if light, then applies the light color.

Functions

See Also

Other Bulma Modifiers: bulma_align(), bulma_flex(), bulma_helpers, bulma_modifier, bulma_size(), bulma_spacing(), bulma_state(), bulma_text, bulma_visibility


tjpalanca/bulma.R documentation built on Dec. 23, 2021, 10:58 a.m.