bs_themed | R Documentation |
A modified Bootstrap 4 theme based on IWMI branding guidelines.
bs_themed( base_font = "national-web-book", heading_font = "dm-serif-text", font_size = 15, palette = pal, elevation = 0, rounded = FALSE, gradients = FALSE )
base_font |
The default typeface. |
heading_font |
The typeface to be used for heading elements. |
font_size |
base font size in pixel |
palette |
color palette (list of Bootstrap colors) (see pal) |
elevation |
default element shadow depth (see BS4 shadows) |
rounded |
enable rounded elements (see BS4 borders) |
gradients |
enable background gradients (see BS4 colors) |
Modified Bootstrap 4 theme
if(interactive()) bs_theme_preview(bs_themed())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.