get_box_colour: Get a box type's colour

View source: R/shiny_functions.R

get_box_colourR Documentation

Get a box type's colour

Description

Simple function for getting the visualisation colour (in hex) for different coloured boxes. Colours are only accurate for the LexOPS shiny app.

Usage

get_box_colour(box_type)

Arguments

box_type

A character vector (one of: "primary", "warning", "Success", "danger", and "info"), specifying which kind of box to generate the colour for.

Value

The colour;s hex value.

Examples


#get_box_colour("primary")

JackEdTaylor/LexOPS documentation built on July 10, 2024, 6:40 a.m.