View source: R/shiny_functions.R
get_box_colour | R Documentation |
Simple function for getting the visualisation colour (in hex) for different coloured boxes. Colours are only accurate for the LexOPS shiny app.
get_box_colour(box_type)
box_type |
A character vector (one of: "primary", "warning", "Success", "danger", and "info"), specifying which kind of box to generate the colour for. |
The colour;s hex value.
#get_box_colour("primary")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.