Closed stevepowell99 closed 3 years ago
As written in the documentation, skin
is a deprecated {shinydashboard}
parameter. The dark and light mode is controlled by the dark
parameter. Set it to FALSE to disable the dark mode:
library(shiny)
library(bs4Dash)
shinyApp(
ui = dashboardPage(
dark = FALSE,
header = dashboardHeader(
title = dashboardBrand(
title = "My dashboard",
color = "primary",
href = "https://adminlte.io/themes/v3",
image = "https://adminlte.io/themes/v3/dist/img/AdminLTELogo.png"
)
),
sidebar = dashboardSidebar(),
body = dashboardBody(
box(status = "danger"),
box(status = "primary"),
box(status = "orange")
),
controlbar = dashboardControlbar(),
title = "DashboardPage"
),
server = function(input, output) { }
)
with reference to #180, is there a way just to start the app in light mode as prior to version 2.0? the skin parameter does not seem to make any difference.