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

A character vector of the colour's hex value.


LexOPS documentation built on Dec. 1, 2026, 5:06 p.m.