Description Usage Arguments Functions
Bulma is a free, open source framework that provides ready-to-use frontend components that you can easily combine to build responsive web interfaces.
Place bulma_assets()
into the shiny app UI or html document, or use
bulma_page()
as the top level header in order to add the dependencies
needed. This is themable via sass::sass()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | bulma_assets(
...,
light = "#FAFAFA",
dark = "#1C3144",
primary = "#008080",
secondary = "#045F7C",
success = "#62B356",
info = "#083D77",
link = "#064E7A",
warning = "#DB8743",
danger = "#ED254E",
base_font = font_google("IBM Plex Sans", local = FALSE),
code_font = font_google("IBM Plex Mono", local = FALSE),
fontawesome = TRUE,
fa_kit_id = "855d84e14c",
output_file = pkg_user("css", "bulma.css"),
skip_render = TRUE
)
bulma_page(..., assets = bulma_assets())
|
... |
other bulma sass variables. see |
light, dark, primary, secondary, success, info, link, warning, danger |
(string) main colors for the Bulma theme. See here for the documentation |
base_font |
(font_collection) These are placed into the main Sans
Serif font. See |
code_font |
(font_collection) These are placed into the main monospace
font. See |
fontawesome |
(flag) whether fontawesome is included |
fa_kit_id |
(string) Kit ID for fontawesome |
output_file |
(path) file to render the CSS file. |
skip_render |
(flag) whether or not to skip rendering the files |
assets |
asset config generated by |
bulma_assets
: bulma web assets
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.