View source: R/eha_flexdashboard_light.R
eha_flex_dashboard_light | R Documentation |
Function to create a custom flexdashboard theme for EHA.
eha_flex_dashboard_light( orientation = "rows", bg = "#f7fdff", fg = "#5EB9D6", primary = "#97C83E", secondary = "#B0A28A", version = 4, fontUrl = "https://font-avenir.s3.us-east-2.amazonaws.com/AvenirLTW04-85Heavy.woff2", family = "Avenir", style = "normal", weight = "500", ... )
orientation |
Determines whether level 2 headings are treated as dashboard rows or dashboard columns. |
bg |
Background color for |
fg |
Foreground color for |
primary |
Primary color for |
secondary |
Secondary color for code |
version |
Bootstrap version to use with |
fontUrl |
URL where font is hosted |
family |
String. Name of font family when using fontURL |
style |
String. Name of font style. Choose from normal, italic,oblique, initial, or inherit |
weight |
String. Defines from thin to thick characters. 400 is the same as normal, and 700 is the same as bold. Can also use normal, bold, bolder, or lighter |
... |
Additional arguments to be passed to |
function
See W3 description of font property for additional details about customizing fonts.
flexdashboard::flex_dashboard()
bslib::bs_theme()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.