fetch_bs_color {teal.slice} | R Documentation |
Get hex code of the current Bootstrap theme color.
Description
Determines the color specification for the currently active Bootstrap color theme and returns one queried color.
Usage
fetch_bs_color(color, alpha = NULL)
Arguments
color |
( |
alpha |
either a |
Value
Named character(1)
containing a hexadecimal color representation.
Examples
fetch_bs_color <- getFromNamespace("fetch_bs_color", "teal.slice")
fetch_bs_color("primary")
fetch_bs_color("danger", 0.35)
fetch_bs_color("danger", "80")
[Package teal.slice version 0.6.0 Index]