#' Theme CSS
#' @name create_theme_css
#' @description Função que cria tema CSS para os dashboards
#'
#' @export
create_theme_css <- function() {
fresh::create_theme(
fresh::bs4dash_yiq(
contrasted_threshold = 10,
text_dark = "#ffffff"
),
fresh::bs4dash_status(
info = status_para_cor("info"),
secondary = status_para_cor("secondary"),
primary = status_para_cor("primary"),
success = status_para_cor("success"),
warning = status_para_cor("warning"),
danger = status_para_cor("danger")
),
fresh::bs4dash_color(
lightblue = status_para_cor("info"),
gray_800 = "#495961",
blue = status_para_cor("primary"),
green = status_para_cor("success"),
yellow = status_para_cor("warning")
)
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.