Description Usage Arguments Functions See Also
Bulma provides utilities to change the color of particular elements according
to the predefined Sass
variables in bulma_assets()
.
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")
)
|
tag |
(tag) tag to be modified |
color |
the color class. |
shade |
(str) if light, then applies the light color. |
bulma_color
: add the color class
bulma_text_color
: Apply a foreground or text color
bulma_background_color
: Apply a background color
Other Bulma Modifiers:
bulma_align()
,
bulma_flex()
,
bulma_helpers
,
bulma_modifier
,
bulma_size()
,
bulma_spacing()
,
bulma_state()
,
bulma_text
,
bulma_visibility
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.