bulma: Bulma CSS Framework

Description Usage Arguments Functions

Description

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()

Bulma Documentation

Usage

 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())

Arguments

...

other bulma sass variables. see sass::sass()

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 sass::font_google().

code_font

(font_collection) These are placed into the main monospace font. See sass::font_google().

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()

Functions


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